Skip to content

Commit

Permalink
minor testsuite fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzmazur committed Nov 30, 2017
1 parent fd1955e commit a9c7678
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/arithmetic.yts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

NextTest("Test arithmetic");

NextTest("Basic calculations");
Expand All @@ -25,7 +24,7 @@ Verify(4.e-3 - 1.e-3, 3e-3);
Verify(4e-3 - 1e-3, 3e-3);

Verify(2/5,Hold(2/5));
Verify(IsZero(N(2/5)-0.4));
Verify(IsZero(N(2/5)-0.4), True);
Verify(IsRational(2),True);
Verify(IsRational(2/5),True);
Verify(IsRational(-2/5),True);
Expand Down Expand Up @@ -98,7 +97,7 @@ Testing("MathPower");
Verify(MathPower(19, 0), 1);
Verify(MathPower(1, -1), 1);
Verify(MathPower(1, -2), 1);
Verify(IsZero(MathPower(10, -2)- 0.01));
Verify(IsZero(MathPower(10, -2)- 0.01), True);
Verify(MathPower(2, 3), 8);
NumericEqual(MathPower(2, -3), 0.125,Builtin'Precision'Get());

Expand Down

0 comments on commit a9c7678

Please sign in to comment.