From 24ffb8e8762c2f14fe109edbc42401285eb8247b Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 2 Mar 2015 17:21:10 +0000 Subject: tests: Add tests for builtins: all, any, sum, abs. --- tests/float/complex1.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/float/complex1.py') diff --git a/tests/float/complex1.py b/tests/float/complex1.py index 941a00d35..4cf7a25f6 100644 --- a/tests/float/complex1.py +++ b/tests/float/complex1.py @@ -26,3 +26,7 @@ print(1j / 2) #print(1j / 2j) uPy doesn't print correctly #print(1j ** 2) uPy doesn't print correctly #print(1j ** 2j) uPy doesn't print correctly + +# builtin abs +print(abs(1j)) +print(abs(1j + 2)) -- cgit v1.2.3