mirror of
https://github.com/syssec-utd/pylingual.git
synced 2026-05-10 18:39:03 -07:00
IfElseLoop test cases for fixes made on 7/21
This commit is contained in:
committed by
Joel-Flores123
parent
69f28e59cb
commit
6c1bc8c539
@@ -302,3 +302,22 @@ def f_nofallthru_if_pass():
|
||||
if a > b:
|
||||
pass
|
||||
print("end")
|
||||
|
||||
|
||||
def g1_ifElseLoop():
|
||||
for a in range(3):
|
||||
if a> b:
|
||||
print(1)
|
||||
|
||||
def g2_ifElseLoop():
|
||||
for a in range(3):
|
||||
if a> b:
|
||||
print(1)
|
||||
print(2)
|
||||
|
||||
def g3_ifElseLoop():
|
||||
for a in range(3):
|
||||
if a> b:
|
||||
print(1)
|
||||
else:
|
||||
print(2)
|
||||
|
||||
Reference in New Issue
Block a user