Sha256: 9cf4488103ad4f22682d1ef3a093f30e40b686bed7d4ed552857c6efa7c5630d
Contents?: true
Size: 679 Bytes
Versions: 89
Compression:
Stored size: 679 Bytes
Contents
import org.junit.Test class IncorrectKeyCipherTest { @Test(expected = IllegalArgumentException::class) fun cipherThrowsWithAllCapsKey() { Cipher("ABCDEF") } @Test(expected = IllegalArgumentException::class) fun cipherThrowsWithAnyCapsKey() { Cipher("abcdEFg") } @Test(expected = IllegalArgumentException::class) fun cipherThrowsWithNumericKey() { Cipher("12345") } @Test(expected = IllegalArgumentException::class) fun cipherThrowsWithAnyNumericKey() { Cipher("abcd345ef") } @Test(expected = IllegalArgumentException::class) fun cipherThrowsWithEmptyKey() { Cipher("") } }
Version data entries
89 entries across 89 versions & 1 rubygems