Skip to content

Commit ee15fc3

Browse files
committed
Add coverage example
1 parent 53d4b9d commit ee15fc3

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
def hard_function(x):
2+
if x % 100 == 0:
3+
return 1
4+
elif x + 100 < 400:
5+
return 2
6+
else:
7+
if x == complex(1, 2):
8+
return x
9+
elif len(str(x)) > 3:
10+
return 3
11+
else:
12+
return 4

0 commit comments

Comments
 (0)