I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 691ce6fe authored by str4d's avatar str4d
Browse files

The first ScalaTest specification: a Hash must be 32 bytes long

parent 618f214a
No related branches found
No related tags found
No related merge requests found
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)
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment