diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/reductions.tm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/reductions.tm b/test/reductions.tm index bd74f306..c56c7d09 100644 --- a/test/reductions.tm +++ b/test/reductions.tm @@ -42,3 +42,13 @@ func main(): >> (<=: [5, 4, 3, 2, 1])! = no + + >> (==: ["x", "y", "z"]) + = no + >> (==.length: ["x", "y", "z"]) + = yes + >> (+.length: ["x", "xy", "xyz"]) + = 6 + + >> (+.abs(): [1, 2, -3]) + = 6 |
