18 @args = split(/:/,$_,99);
20 $try = "$f('" . join("','", @args) . "');";
21 if (($ans1 = eval($try)) eq $ans) {
24 print "not ok $test\n";
25 print "# '$try' expected: '$ans' got: '$ans1'\n";
41 000000 0000000 00000:+0
110 +9999999:+1:+10000000
111 +99999999:+1:+100000000
112 +999999999:+1:+1000000000
113 +9999999999:+1:+10000000000
114 +99999999999:+1:+100000000000
121 +10000000:-1:+9999999
122 +100000000:-1:+99999999
123 +1000000000:-1:+999999999
124 +10000000000:-1:+9999999999
125 +123456789:+987654321:+1111111110
126 -123456789:+987654321:+864197532
127 -123456789:-987654321:-1111111110
128 +123456789:-987654321:-864197532
149 +99999999:+1:+99999998
150 +999999999:+1:+999999998
151 +9999999999:+1:+9999999998
152 +99999999999:+1:+99999999998
159 +10000000:-1:+10000001
160 +100000000:-1:+100000001
161 +1000000000:-1:+1000000001
162 +10000000000:-1:+10000000001
163 +123456789:+987654321:-864197532
164 -123456789:+987654321:-1111111110
165 -123456789:-987654321:+864197532
166 +123456789:-987654321:+1111111110
176 +123456789123456789:+0:+0
177 +0:+123456789123456789:+0
187 +10101:+10101:+102030201
188 +1001001:+1001001:+1002003002001
189 +100010001:+100010001:+10002000300020001
190 +10000100001:+10000100001:+100002000030000200001
191 +11111111111:+9:+99999999999
192 +22222222222:+9:+199999999998
193 +33333333333:+9:+299999999997
194 +44444444444:+9:+399999999996
195 +55555555555:+9:+499999999995
196 +66666666666:+9:+599999999994
197 +77777777777:+9:+699999999993
198 +88888888888:+9:+799999999992
199 +99999999999:+9:+899999999991
215 +1000000000:+9:+111111111
216 +2000000000:+9:+222222222
217 +3000000000:+9:+333333333
218 +4000000000:+9:+444444444
219 +5000000000:+9:+555555555
220 +6000000000:+9:+666666666
221 +7000000000:+9:+777777777
222 +8000000000:+9:+888888888
223 +9000000000:+9:+1000000000
224 +35500000:+113:+314159
225 +71000000:+226:+314159
226 +106500000:+339:+314159
227 +1000000000:+3:+333333333
232 +999999999999:+9:+111111111111
233 +999999999999:+99:+10101010101
234 +999999999999:+999:+1001001001
235 +999999999999:+9999:+100010001
236 +999999999999999:+99999:+10000100001
271 +999999999999:+999:+0
272 +999999999999:+9999:+0
273 +999999999999999:+99999:+0