예제 #1
0
 def testChoose(self):
     """testing choose()"""
     r = dbexts.choose(1, 4, 5)
     assert r == 4, "choose failed, expected 4, got %d" % r
예제 #2
0
 def testChoose(self):
     """testing choose()"""
     r = dbexts.choose(1, 4, 5)
     assert r == 4, "choose failed, expected 4, got %d" % r