1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-20 14:22:26 +02:00

Add tests using arithmetic on negative integers.

This commit is contained in:
Jim Meyering
2005-05-26 16:09:29 +00:00
parent a7102ac430
commit f3dfdff460

View File

@@ -29,6 +29,8 @@ my @Tests =
['c', '5 \* 6', {OUT => '30'}],
['d', '100 / 6', {OUT => '16'}],
['e', '100 % 6', {OUT => '4'}],
['f', '3 + -2', {OUT => '1'}],
['g', '-2 + -2', {OUT => '-4'}],
['paren1', '\( 100 % 6 \)', {OUT => '4'}],
['paren2', '\( 100 % 6 \) - 8', {OUT => '-4'}],