source: core/java/test/scalatest/net/i2p/data/PublicKeySpec.scala @ 3b7daaf

Last change on this file since 3b7daaf was 3b7daaf, checked in by str4d <str4d@…>, 8 years ago

Fill in basic datastructure length tests

  • Property mode set to 100644
File size: 351 bytes
Line 
1package net.i2p.data
2
3import org.scalatest.FunSpec
4import org.scalatest.matchers.ShouldMatchers
5
6/**
7 * @author str4d
8 */
9class PublicKeySpec extends FunSpec with ShouldMatchers {
10    val publicKey = new PublicKey
11
12    describe("A PublicKey") {
13        it("should be 256 bytes long") {
14            publicKey should have length (256)
15        }
16    }
17}
Note: See TracBrowser for help on using the repository browser.