-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOutput.correct3
More file actions
126 lines (74 loc) · 1.4 KB
/
Output.correct3
File metadata and controls
126 lines (74 loc) · 1.4 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
TESTING M_s
testing: m_names(Name)
Name = lect4
Name = lect6
Name = pc4
Name = pc11
Name = pc18
Name = pc22
Name = pc24
Name = pc31
Name = ta7
testing: m_lect(Name)
Name = lect4
Name = lect6
testing: m_pc(Name)
Name = pc4
Name = pc11
Name = pc18
Name = pc22
Name = pc24
Name = pc31
testing: m_pc11(Users)
Users = [kim,tom]
testing: m_pc11(Users)
Users = [kim,tom]
testing: m_no(Name)
Name = pc22
Name = pc31
testing: m_eq1(Name)
Name = pc4
Name = pc24
Name = ta7
testing: m_ge2(Name)
Name = lect4
Name = lect6
Name = pc11
Name = pc18
TESTING MYFOR
testing: myfor(2,10,Z)
Z = [2,3,4,5,6,7,8,9,10]
testing: myfor(3,7,Z)
Z = [3,4,5,6,7]
testing: myfor(3,2,Z)
Z = []
TESTING FIB
testing: fib(2,2,0,Z)
Z = []
testing: fib(2,3,10,Z)
Z = [2,3,5,8]
testing: fib(0,1,10,Z)
Z = [0,1,1,2,3,5,8]
testing: fib(1,5,3,Z)
Z = [1]
testing: fib(2,4,2,Z)
Z = [2]
testing: fib(2,2,2,Z)
Z = [2]
testing: fib(2,0,2,Z)
Z = [2]
testing: fib(2,-1,10,Z)
Z = [2,-1,1,0,1,1,2,3,5,8]
testing: fib(4,5,18,Z)
Z = [4,5,9,14]
TESTING CMEMBER
testing: cmember([[a,[b,c]],[d,[e,f]]],a,Z)
Z = [a,[b,c]]
testing: cmember([[a,[b,c]],[d,[e,f]]],e,Z)
testing: cmember([[a,[b,c]],[d,[e,f]]],d,Z)
Z = [d,[e,f]]
testing: cmember([[30,[9,10]],[40,[11,12]],[50,[33]]],40,Z)
Z = [40,[11,12]]
testing: cmember([[30,[9,10]],[40,[11,12]],[50,[33]]],30,Z)
Z = [30,[9,10]]
testing: cmember([[30,[9,10]],[40,[11,12]],[50,[33]]],99,Z)