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:
@@ -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'}],
|
||||
|
||||
Reference in New Issue
Block a user