diff --git a/core/java/test/scalatest/net/i2p/data/HashSpec.scala b/core/java/test/scalatest/net/i2p/data/HashSpec.scala new file mode 100644 index 000000000..71b7ccc30 --- /dev/null +++ b/core/java/test/scalatest/net/i2p/data/HashSpec.scala @@ -0,0 +1,17 @@ +package net.i2p.data; + +import org.scalatest.FunSpec +import org.scalatest.matchers.ShouldMatchers + +/** + * @author str4d + */ +class HashSpec extends FunSpec with ShouldMatchers { + val hash = new Hash + + describe("A Hash") { + it("should be 32 bytes long") { + hash.length should be (32) + } + } +}