diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/types.fy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/types.fy b/examples/types.fy index 1b9a0ac..1ac9751 100644 --- a/examples/types.fy +++ b/examples/types.fy @@ -12,3 +12,7 @@ assert 2 == say integer 2.8; # Rounds down to the Integer 2 assert say integer double string put say neg 12; # Nonsense but working :) +assert "TT_INTEGER" == say type 1; +assert "TT_DOUBLE" == say type 1.0; +assert "TT_STRING" == say type "1"; +assert "TT_ARRAY" == say type [1 2 3]; |
