"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test42" between
bas-2.5.tar.gz and bas-2.6.tar.gz

About: bas is an interpreter for the programming language BASIC.

test42  (bas-2.5):test42  (bas-2.6)
skipping to change at line 14 skipping to change at line 14
cat >test.bas <<eof cat >test.bas <<eof
10 print 4.7\3 10 print 4.7\3
20 print -2.3\1 20 print -2.3\1
30 print int(-2.3) 30 print int(-2.3)
40 print int(2.3) 40 print int(2.3)
50 print fix(-2.3) 50 print fix(-2.3)
60 print fix(2.3) 60 print fix(2.3)
70 print fp(-2.3) 70 print fp(-2.3)
80 print fp(2.3) 80 print fp(2.3)
90 print -2^-3.5
eof eof
cat >test.ref <<eof cat >test.ref <<eof
1 1
-2 -2
-3 -3
2 2
-2 -2
2 2
-0.3 -0.3
0.3 0.3
-0.088388
eof eof
sh ./test/runbas test.bas >test.data sh ./test/runbas test.bas >test.data
if cmp test.ref test.data if cmp test.ref test.data
then then
rm -f test.* rm -f test.*
echo passed echo passed
else else
echo failed echo failed
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)