Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Boo
Lang
Runtime
Tests
RuntimeCoercionTestCase
TestNumericPromotion
Boo.Lang.Runtime.Tests.RuntimeCoercionTestCase.TestNumericPromotion C# (CSharp) Метод
Документация по классу RuntimeCoercionTestCase
Показать файл
Открыть проект
TestNumericPromotion()
приватный
Метод
private
TestNumericPromotion
( ) :
void
Результат
void
public void TestNumericPromotion() { Assert.AreEqual(42, Coerce(41.51, typeof(int))); }
RuntimeCoercionTestCase
Coerce
TestICoercible
TestIdentity
TestImplicitCast
TestImplicitCastExtension
TestNumericPromotion