From 79a0de7c6623433170f4965f0a6f07ebfed27f16 Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 22 Jun 2010 15:31:55 +0000 Subject: separate float and double tests --- tests/unit_tests/double/test_double_int.sci | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/unit_tests/double/test_double_int.sci (limited to 'tests/unit_tests/double/test_double_int.sci') diff --git a/tests/unit_tests/double/test_double_int.sci b/tests/unit_tests/double/test_double_int.sci new file mode 100644 index 00000000..00a4aaef --- /dev/null +++ b/tests/unit_tests/double/test_double_int.sci @@ -0,0 +1,11 @@ +function test_double_int() + d0 = %pi + d2 = [1 2 3 4 ; 4 5 6 8 ; 9 10 11 12 ; 13 14 15 16] + z0 = d0 + %i * d0 + z2 = d2 + %i * d2 + + int(d0); + int(d2); + int(z0); + int(z2); +endfunction -- cgit