예제 #1
0
파일: xor_tests.py 프로젝트: kippr/neato
 def should_give_zero_for_one_and_one(self):
     expect(hand_crafted_xor(1, 1)) == 0
예제 #2
0
파일: xor_tests.py 프로젝트: kippr/neato
 def should_give_one_for_one_and_zero(self):
     expect(hand_crafted_xor(1, 0)) == 1
예제 #3
0
파일: xor_tests.py 프로젝트: kippr/neato
 def should_give_zero_for_zero_and_zero(self):
     expect(hand_crafted_xor(0, 0)) == 0
예제 #4
0
파일: xor_tests.py 프로젝트: kippr/neato
 def should_give_one_for_zero_and_one(self):
     expect(hand_crafted_xor(0, 1)) == 1