Skip to content

Commit 1fac082

Browse files
committed
UnitTest bits
1 parent 1db313b commit 1fac082

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

modules/squarepine_cryptography/unittests/CityHashUnitTests.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CityHashUnitTests final : public UnitTest
1111

1212
void test (const char* input, const String& expected)
1313
{
14-
/*
14+
#if 0
1515
expectEquals (CityHash (input, strlen (input)).toHexString(), expected);
1616

1717
{
@@ -23,20 +23,22 @@ class CityHashUnitTests final : public UnitTest
2323
MemoryInputStream m (input, strlen (input), false);
2424
expectEquals (CityHash (m).toHexString(), expected);
2525
}
26-
*/
26+
#else
27+
ignoreUnused (input, expected);
28+
#endif
2729
}
2830

2931
void runTest() override
3032
{
31-
return; // TODO
32-
3333
beginTest ("Hash Comparisons");
3434

35+
#if 0
3536
test ("", "da39a3ee5e6b4b0d3255bfef95601890afd80709");
3637
test (" ", "b858cb282617fb0956d960215c8e84d1ccf909c6");
3738
test ("-", "3bc15c8aae3e4124dd409035f32ea2fd6835efc9");
3839
test ("The quick brown fox jumps over the lazy dog", "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12");
3940
test ("The quick brown fox jumps over the lazy dog.", "408d94384216f890ff7a0c3528e8bed1e0b01621");
41+
#endif
4042
}
4143
};
4244

0 commit comments

Comments
 (0)