File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
modules/squarepine_cryptography/unittests Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class CityHashUnitTests final : public UnitTest
11
11
12
12
void test (const char * input, const String& expected)
13
13
{
14
- /*
14
+ # if 0
15
15
expectEquals (CityHash (input, strlen (input)).toHexString(), expected);
16
16
17
17
{
@@ -23,20 +23,22 @@ class CityHashUnitTests final : public UnitTest
23
23
MemoryInputStream m (input, strlen (input), false);
24
24
expectEquals (CityHash (m).toHexString(), expected);
25
25
}
26
- */
26
+ #else
27
+ ignoreUnused (input, expected);
28
+ #endif
27
29
}
28
30
29
31
void runTest () override
30
32
{
31
- return ; // TODO
32
-
33
33
beginTest (" Hash Comparisons" );
34
34
35
+ #if 0
35
36
test ("", "da39a3ee5e6b4b0d3255bfef95601890afd80709");
36
37
test (" ", "b858cb282617fb0956d960215c8e84d1ccf909c6");
37
38
test ("-", "3bc15c8aae3e4124dd409035f32ea2fd6835efc9");
38
39
test ("The quick brown fox jumps over the lazy dog", "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12");
39
40
test ("The quick brown fox jumps over the lazy dog.", "408d94384216f890ff7a0c3528e8bed1e0b01621");
41
+ #endif
40
42
}
41
43
};
42
44
You can’t perform that action at this time.
0 commit comments