Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nanocoh committed Oct 20, 2024
1 parent b4eb3f8 commit 4861de6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/snl/snl/kernel/SNLEquipotentialTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,19 @@ TEST_F(SNLEquipotentialTest, test) {
EXPECT_EQ(equipotentialTopOut.getInstTermOccurrences(), naja::NajaCollection(new naja::NajaSTLCollection(&instTermOccurrences)));
{ auto print = equipotentialTopOut.getString(); }

std::set<SNLInstTermOccurrence> instTermOccurrences1;
instTermOccurrences.insert(aapio);
instTermOccurrences.insert(bbpio);
instTermOccurrences.insert(cpio);
std::set<SNLInstTermOccurrence> instTermOccurrences2;
instTermOccurrences.insert(aapio);
instTermOccurrences.insert(bbpio);
instTermOccurrences.insert(bbpio);
EXPECT_EQ(equipotentialTopOut.getInstTermOccurrences() == naja::NajaCollection(new naja::NajaSTLCollection(&instTermOccurrences1)), false);
EXPECT_EQ(equipotentialTopOut.getInstTermOccurrences() == naja::NajaCollection(new naja::NajaSTLCollection(&instTermOccurrences2)), false);



//Test compaerators
EXPECT_EQ(equipotentialTopI0 == equipotentialTopI1, true);
EXPECT_EQ(equipotentialTopI0 == equipotentialTopOut, true);
Expand Down

0 comments on commit 4861de6

Please sign in to comment.