Skip to content
Snippets Groups Projects
Commit 56097a33 authored by Lukas Cejka's avatar Lukas Cejka
Browse files

Fixed mistake, where I forgot to EXPECT_EQ for an element added outside of for loop.

parent 326b5cbf
No related branches found
No related tags found
1 merge request!16Matrices
......@@ -219,6 +219,7 @@ void test_AddElement()
m.addElement( 0, 4, 1, 0.0 );
EXPECT_EQ( m.getElement( 0, 0 ), 1 );
EXPECT_EQ( m.getElement( 0, 4 ), 1 );
EXPECT_EQ( m.getElement( 1, 0 ), 2 );
EXPECT_EQ( m.getElement( 2, 0 ), 3 );
EXPECT_EQ( m.getElement( 3, 0 ), 4 );
......
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