[gnome-calculator] Added simple test for constant negative conversion
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Added simple test for constant negative conversion
- Date: Mon, 13 Feb 2017 20:48:08 +0000 (UTC)
commit 196ac232ffc80d9829c706ed13ba02cb3ca03130
Author: Robert Roth <robert roth off gmail com>
Date: Mon Feb 13 22:47:53 2017 +0200
Added simple test for constant negative conversion
tests/test-equation.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-equation.vala b/tests/test-equation.vala
index 8c663de..e9ccbf2 100644
--- a/tests/test-equation.vala
+++ b/tests/test-equation.vala
@@ -158,6 +158,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 k", "272.15", 0);
/* Digital Storage */
test ("1000 bits in bytes", "125", 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]