예제 #1
0
 def test_pico_poss_not_in_same_space(self):
     posses = bb.update_pico_possibilities((1, 2, 3), self.possibilities)
     assert((1, 2, 3) not in posses)
     assert((1, 4, 5) not in posses)
     assert((4, 5, 1) in posses)
예제 #2
0
 def test_update_pico_poss_make_sure_no_doubles(self):
     posses = bb.update_pico_possibilities((1, 2, 3), self.possibilities)
     assert(len(set(posses)) == len(posses))