Skip to content

Commit

Permalink
Adjust tests for PrintObj
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bernhardt committed Apr 9, 2019
1 parent 1d97bea commit 5862484
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tst/testinstall/float.tst
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ gap> l := [ 0.0, -0.0, 1.0, Sqrt(2.0), posinf, neginf, nan ];
gap> ViewObj(l); Print("\n");
[ 0., -0., 1., 1.41421, inf, -inf, nan ]
gap> PrintObj(l); Print("\n");
[ 0, -0, 1, 1.414213562373095, inf, -inf, nan ]
[ 0., -0., 1., 1.414213562373095, inf, -inf, nan ]
gap> Display(l);
[ 0, -0, 1, 1.414213562373095, inf, -inf, nan ]
[ 0., -0., 1., 1.414213562373095, inf, -inf, nan ]

#
#
Expand Down Expand Up @@ -179,12 +179,12 @@ gap> 1.5e10;
gap> -1.5e0;
-1.5
gap> 0.7e-10;
7.e-11
7e-11.
gap> -0.8e-0;
-0.8
gap> 1000000000000000000000000000000000000000000000000000000000000000\
> 00000000000000000000000000000000000000000000000000000000000000.0;
1.e+125
1e+125.
gap> 1.5+1;
2.5
gap> last-1.6;
Expand Down
2 changes: 1 addition & 1 deletion tst/testinstall/syntaxtree.tst
Original file line number Diff line number Diff line change
Expand Up @@ -2855,7 +2855,7 @@ rec(
statements := [ rec(
obj := rec(
type := "T_FLOAT_EXPR_EAGER",
value := 1 ),
value := 1. ),
type := "T_RETURN_OBJ" ) ],
type := "T_SEQ_STAT" ),
type := "T_FUNC_EXPR",
Expand Down

0 comments on commit 5862484

Please sign in to comment.