Skip to content

Commit

Permalink
check non-overwriting of already read SLHA entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt committed Nov 7, 2014
1 parent 60b6c28 commit 843c7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_slha_io.cpp
Expand Up @@ -126,7 +126,7 @@ BOOST_AUTO_TEST_CASE( test_read_block_doubled )
"Block Matrix\n"
" 1 1 5.0 # element 1,1\n"
" 1 2 6.0 # element 1,2\n"
" 2 1 7.0 # element 2,1\n"
"# 2 1 7.0 # element 2,1\n"
" 2 2 8.0 # element 2,2\n";
block.str(str);
coll.push_back(block);
Expand All @@ -139,7 +139,7 @@ BOOST_AUTO_TEST_CASE( test_read_block_doubled )

BOOST_CHECK_EQUAL(matrix(0,0), 5.0);
BOOST_CHECK_EQUAL(matrix(0,1), 6.0);
BOOST_CHECK_EQUAL(matrix(1,0), 7.0);
BOOST_CHECK_EQUAL(matrix(1,0), 3.0);
BOOST_CHECK_EQUAL(matrix(1,1), 8.0);
}

Expand Down

0 comments on commit 843c7a4

Please sign in to comment.