tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
This commit is contained in:
@@ -16,3 +16,21 @@ while 2:
|
||||
while -1:
|
||||
print(4)
|
||||
break
|
||||
|
||||
while False:
|
||||
print('a')
|
||||
else:
|
||||
print('b')
|
||||
|
||||
while True:
|
||||
print('a')
|
||||
break
|
||||
|
||||
while not False:
|
||||
print('a')
|
||||
break
|
||||
|
||||
while not True:
|
||||
print('a')
|
||||
else:
|
||||
print('b')
|
||||
|
||||
Reference in New Issue
Block a user