Fixed test file ddFunction.py to not use all global variables.
authorAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 26 Sep 2018 12:28:18 +0000 (14:28 +0200)
committerAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 26 Sep 2018 12:28:18 +0000 (14:28 +0200)
ajpastor/tests/dd_functions/ddFunction.py
releases/diff_defined_functions__0.6.zip
releases/old/diff_defined_functions__0.6__18.09.26_14:28:18.zip [new file with mode: 0644]

index 5a2bb1a..dd3e40b 100644 (file)
@@ -50,7 +50,7 @@ def run():
         
         ## Creation and Initial Values tests
         sverbose("Test for creation and initial values computation");
-        sin = DFinite_example('sin');
+        sin = Sin(x);
         assert_coefficients(sin, [_sage_const_1 ,_sage_const_0 ,_sage_const_1 ], 'sin');
         assert_initialValues(sin, [_sage_const_0 , _sage_const_1 , _sage_const_0 , -_sage_const_1 , _sage_const_0 , _sage_const_1 ], 'sin');
 
@@ -87,7 +87,7 @@ def run():
         # Summation, multiplication and scalar tests
         # Summation
         sverbose("Test for addition of elements (exp(x) + exp(x))");
-        e = DFinite_example('e');
+        e = Exp(x);
         _aux = e.add(e)
         assert_coefficients(_aux, [-_sage_const_1 ,_sage_const_1 ], '2exp(x)');
         assert_initialValues(_aux, [_sage_const_2 ,_sage_const_2 ,_sage_const_2 ,_sage_const_2 ,_sage_const_2 ,_sage_const_2 ], '2exp(x)');
index dedf9cc..af41401 100644 (file)
Binary files a/releases/diff_defined_functions__0.6.zip and b/releases/diff_defined_functions__0.6.zip differ
diff --git a/releases/old/diff_defined_functions__0.6__18.09.26_14:28:18.zip b/releases/old/diff_defined_functions__0.6__18.09.26_14:28:18.zip
new file mode 100644 (file)
index 0000000..af41401
Binary files /dev/null and b/releases/old/diff_defined_functions__0.6__18.09.26_14:28:18.zip differ