Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Boo
Lang
Runtime
Tests
RuntimeCoercionTestCase
TestNumericPromotion
Boo.Lang.Runtime.Tests.RuntimeCoercionTestCase.TestNumericPromotion C# (CSharp) Méthode
RuntimeCoercionTestCase Class Documentation
Afficher le fichier
Open project: boo/boo-lang
TestNumericPromotion()
private
méthode
private
TestNumericPromotion
( ) :
void
Résultat
void
public void TestNumericPromotion() { Assert.AreEqual(42, Coerce(41.51, typeof(int))); }
RuntimeCoercionTestCase
Coerce
TestICoercible
TestIdentity
TestImplicitCast
TestImplicitCastExtension
TestNumericPromotion