From 10a727b4da7b3850850c51abfcfa65ff27aa2319 2006-02-09 20:00:55 From: vivainio Date: 2006-02-09 20:00:55 Subject: [PATCH] test_autocall --- diff --git a/test/test_autocall.ipy b/test/test_autocall.ipy new file mode 100644 index 0000000..2f40785 --- /dev/null +++ b/test/test_autocall.ipy @@ -0,0 +1,24 @@ +def f1(a,b,c): + return a+b+c + + +def f2(a): + return a + a + + +;f2 a b c +assert _ == "a b ca b c" + +,f1 a b c +assert _ == 'abc' +print _ + +/f1 1,2,3 +assert _ == 6 + +/f2 4 +assert _ == 8 + +del f1 +del f2 +