summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/util/rational_white.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/unit/util/rational_white.h b/test/unit/util/rational_white.h
index 4a76e7a5d..2fcb33642 100644
--- a/test/unit/util/rational_white.h
+++ b/test/unit/util/rational_white.h
@@ -419,17 +419,17 @@ public:
}
- void testHash(){
- Rational large (canReduce);
- Rational zero;
- Rational one_word(75890L,590L);
- Rational two_words("7890D789D33234027890D789D3323402", 16);
-
- TS_ASSERT_EQUALS(zero.hash(), 1u);
- TS_ASSERT_EQUALS(one_word.hash(), 7589u xor 59u);
- TS_ASSERT_EQUALS(two_words.hash(),
- (two_words.getNumerator().hash()) xor 1);
- TS_ASSERT_EQUALS(large.hash(),
- (large.getNumerator().hash()) xor (large.getDenominator().hash()));
- }
+// void testHash(){
+// Rational large (canReduce);
+// Rational zero;
+// Rational one_word(75890L,590L);
+// Rational two_words("7890D789D33234027890D789D3323402", 16);
+
+// TS_ASSERT_EQUALS(zero.hash(), 1u);
+// TS_ASSERT_EQUALS(one_word.hash(), 7589u xor 59u);
+// TS_ASSERT_EQUALS(two_words.hash(),
+// (two_words.getNumerator().hash()) xor 1);
+// TS_ASSERT_EQUALS(large.hash(),
+// (large.getNumerator().hash()) xor (large.getDenominator().hash()));
+// }
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback