Exemple #1
0
 void test_bug2()
 {
     BitStream bs;
     bs.append_bit(0);
     bs.resize(3, 1);
     NUT_TA(bs.to_string() == "011");
 }
Exemple #2
0
 void test_bug1()
 {
     BitStream bs;
     bs.resize(2, 1);
     NUT_TA(bs.to_string() == "11");
 }