-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_main.py
More file actions
64 lines (34 loc) · 776 Bytes
/
Copy pathtest_main.py
File metadata and controls
64 lines (34 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from main import *
def test_q1():
result = q1()
assert type(result) == tuple
assert len(result) == 2
def test_q2():
result = q2()
assert type(result) == int
def test_q3():
result = q3()
assert type(result) == int
def test_q4():
result = q4()
assert type(result) == int
def test_q5():
result = q5()
assert type(result) == float
assert 0.0 <= result <= 1.0
def test_q6():
result = q6()
assert type(result) == int
def test_q7():
result = q7()
assert result
def test_q8():
result = q8()
assert type(result) == float
assert 0.0 <= result <= 1.0
def test_q9():
result = q9()
assert type(result) == int
def test_q10():
result = q10()
assert type(result) == bool