diff --git a/src/test/MetaTest.cpp b/src/test/MetaTest.cpp index 2564615..4a78de8 100644 --- a/src/test/MetaTest.cpp +++ b/src/test/MetaTest.cpp @@ -78,13 +78,13 @@ TEST(Meta, Bitset) EC::Bitset bitset; EXPECT_EQ(bitset.size(), listAll::size + listTagsAll::size); - bitset[1] = true; + bitset[EC::Meta::IndexOf::value] = true; EXPECT_TRUE(bitset.getComponentBit()); bitset.flip(); EXPECT_FALSE(bitset.getComponentBit()); bitset.reset(); - bitset[4] = true; + bitset[listAll::size + EC::Meta::IndexOf::value] = true; EXPECT_TRUE(bitset.getTagBit()); bitset.flip(); EXPECT_FALSE(bitset.getTagBit());