summaryrefslogtreecommitdiff
path: root/test/testcases/i_validation_cases.txt
blob: e43751114ca54a37c8a2eb161c5237282aee09bb (plain)
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
validate_check_p_m
Positive input (Valid):
L+
L-
L-1
L+1
L-2
L+2
L-3
L+3
L-9
L+9
L-10
L+10
L+90
L+100
L+900

Positive (_NA):
L0
L1
L100
LL
Lasd
L9
L90
L900

Negative (Invalid):
L+0
L-0
L--
L++
L+L
L-L
L+asd
L-asd
L-0-
L+0+
L+0-
L-0+
L-0

Overall results: Tested OK. Seems like its working like it should now. 

validate_check_imm
Positive input (Valid):
L
L1
L9
L10
L90 
L900 
L100 

Negative (Invalid):
LL 
L+ 
L+1 
L0 
L+0 
L00 
L0L 

Overall results: Tested OK. Seems like its working like it should.

validate_plus_continue
Positive input (Valid):
L+1
L+10
L+9
L+90
L+5
L+50
L+11
L+99
L+345345
L+12313213213213

Negative (Invalid):
L+1L
L+11L
L+9L
L+5L
L+90L
L+500+
L+23+23
L+13++
L-10
L+1+

Overall results: Tested OK. Seems fine.

validate_imm_numbers
Positive input (Valid):
L1
L2
L9
L10
L10000
L999
L1112
L3987453

Negative (Invalid):
L1-
L9+
L1L
L9a
L1F
L9e
L100000000L
L942sA
L223+213123
L2+1

Overall results: Tested OK. Seems fine.

validate_L
Positive (valid):
L
L+ 
L- 
L1 
L10 
L9 
L90 
L5 
L50 
L500 
L900 
L100
L9993221
L100000000000
L9234572
L112323
L100334
L+1 
L-1 
L+10
L+9
L+90 
L+1000000000
L+9992
L+1020023023
L-2323232323 

Negative (invalid):
L++
L--
L+0
L-0
L0
L00 
LL 
LN 
Lsada
L+a
L+abcdefg 
L-a 
L+0111a
L01203103
L11212
L+12n
L10+10
L10-10
L-1-1+1-1
L+1+1+1
L10+10+10
L+10+1000
L10+10
l+10l
L10?
L+10?
L?10

Overall resuts: Tested OK. I don't think ive missed any checks for anything but hey you can never be sure. This is acceptable for now.