Skip to content
Snippets Groups Projects
Commit 7a9a3087 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed StaticArrayTest

parent ccf1aa07
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment