[gnome-calculator] Added test for latex-style multiplication



commit b0c774dc8648d332ea9add5df588c89411584702
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Jun 4 17:28:47 2020 +0300

    Added test for latex-style multiplication

 tests/test-equation.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/test-equation.vala b/tests/test-equation.vala
index f5949243..d2e6806a 100644
--- a/tests/test-equation.vala
+++ b/tests/test-equation.vala
@@ -377,6 +377,7 @@ private void test_equations ()
     test ("0.001−40000", "−39999.999", 0);
     test ("2*3", "6", 0);
     test ("2×3", "6", 0);
+    test ("2\\cdot3", "6", 0);
     test ("−2×3", "−6", 0);
     test ("2×−3", "−6", 0);
     test ("−2×−3", "6", 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]