diff options
Diffstat (limited to 'test/integers.tm')
| -rw-r--r-- | test/integers.tm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integers.tm b/test/integers.tm index 2570521a..a3ec7fe2 100644 --- a/test/integers.tm +++ b/test/integers.tm @@ -33,6 +33,8 @@ for x in 5 = "1,2,3,4,5," >> x := 123 +>> x:format(digits=5) += "00123" >> x:hex() = "0x7B" >> x:octal() @@ -44,3 +46,10 @@ for x in 5 >> Int.max = 9223372036854775807 + +>> 123_i32:hex() += "0x7B" +>> 123_i16:hex() += "0x7B" +>> 123_i8:hex() += "0x7B" |
