Browse Source

Edited the test cases from the parsers, added a missing FAIL() in the dead branches.

tempestpy_adaptions
PBerger 12 years ago
parent
commit
8b1d5804c9
  1. 2
      test/parser/read_lab_file_test.cpp
  2. 2
      test/parser/read_tra_file_test.cpp

2
test/parser/read_lab_file_test.cpp

@ -76,6 +76,8 @@ TEST(ReadLabFileTest, ParseTest) {
//Deleting the labeling //Deleting the labeling
delete labeling; delete labeling;
} else {
FAIL();
} }
} }

2
test/parser/read_tra_file_test.cpp

@ -62,6 +62,8 @@ TEST(ReadTraFileTest, ParseFileTest1) {
ASSERT_TRUE(result->getValue(4,4,&val)); ASSERT_TRUE(result->getValue(4,4,&val));
ASSERT_EQ(val,0); ASSERT_EQ(val,0);
delete result; delete result;
} else {
FAIL();
} }
} }

Loading…
Cancel
Save