[SF 2715031] DynamicAny double to float conversion

This commit is contained in:
Aleksandar Fabijanic
2009-04-01 19:15:22 +00:00
parent 11dc7df7e0
commit 019572be51
2 changed files with 21 additions and 2 deletions

View File

@@ -934,6 +934,9 @@ void VarTest::testChar()
void VarTest::testFloat()
{
Var any("0");
float f = any;
float src = 32.0f;
Var a1 = src;
@@ -1022,6 +1025,10 @@ void VarTest::testFloat()
void VarTest::testDouble()
{
double d = 0;
Var v(d);
float f = v;
double src = 32.0;
Var a1 = src;