示例#1
0
 def test_killZeroFor(self):
     if not KILL_ZERO_FOR:
         return
     ml = MutLoop()
     assert ml.simpleFor(1) == [0]
示例#2
0
 def test_killOneFor(self):
     if not KILL_ONE_FOR:
         return
     ml = MutLoop()
     assert ml.simpleFor(2) == [0, 1]
示例#3
0
 def test_simpleFor(self):
     ml = MutLoop()
     assert ml.simpleFor(0) == []