diff options
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java b/vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java index 86166a1e874..3be483106f2 100644 --- a/vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java +++ b/vespajlib/src/test/java/com/yahoo/collections/MD5TestCase.java @@ -1,10 +1,17 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.collections; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + /** - * @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a> + * @author Einar M R Rosenvinge */ -public class MD5TestCase extends junit.framework.TestCase { +public class MD5TestCase { + + @Test public void testMD5() { MD5 md5 = new MD5(); int a = md5.hash("foobar"); @@ -30,4 +37,5 @@ public class MD5TestCase extends junit.framework.TestCase { assertTrue((c & 0x0000FF00) != 0); assertTrue((c & 0x000000FF) != 0); } + } |