[gnome-calculator] Added degree unit conversion test (#211)



commit 0d8de59c4bcbb5ec7dd375ee73ed025f73e2ce5c
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Mar 8 10:57:16 2021 +0200

    Added degree unit conversion test (#211)

 tests/test-equation.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/test-equation.vala b/tests/test-equation.vala
index d2e6806a..356d8bf1 100644
--- a/tests/test-equation.vala
+++ b/tests/test-equation.vala
@@ -160,6 +160,7 @@ private void test_conversions ()
     test ("0degC in degF", "32", 0);
     test ("0 K in degC", "−273.15", 0);
     test ("0 k in c", "−273.15", 0);
+    test ("1 ˚C in ˚F", "33.8", 0);
     test ("-1 c in k", "272.15", 0);
 
     /* Digital Storage */


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