Commit 7a9a3087 authored by Jakub Klinkovský's avatar Jakub Klinkovský

Fixed StaticArrayTest

parent ccf1aa07
......@@ -218,12 +218,12 @@ TYPED_TEST( StaticArrayTest, AssignmentOperator )
EXPECT_TRUE( u3 == u4 );
// assignment of number
u3 = 0.0;
u3 = 0;
for( int i = 0; i < size; i++ )
u3[ i ] == 0.0;
u3 = 1.0;
EXPECT_EQ( u3[ i ], 0 );
u3 = 1;
for( int i = 0; i < size; i++ )
u3[ i ] == 1.0;
EXPECT_EQ( u3[ i ], 1 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment