diff options
Diffstat (limited to 'passgen/diceware/src/test')
2 files changed, 5 insertions, 5 deletions
diff --git a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DicewarePassphraseGeneratorTest.kt b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DicewarePassphraseGeneratorTest.kt index 7f22fdcc..236be708 100644 --- a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DicewarePassphraseGeneratorTest.kt +++ b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DicewarePassphraseGeneratorTest.kt @@ -15,7 +15,7 @@ class DicewarePassphraseGeneratorTest { private val intGenerator = RandomIntGenerator { it.random(random) } @Test - fun generate_passphrase() { + fun generatePassphrase() { val die = Die(6, intGenerator) val generator = diff --git a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DieTest.kt b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DieTest.kt index 69a355c5..7f6398f6 100644 --- a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DieTest.kt +++ b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/DieTest.kt @@ -17,19 +17,19 @@ class DieTest { private val intGenerator = RandomIntGenerator { it.random(random) } @Test - fun test_one_roll() { + fun oneRoll() { val die = Die(6, intGenerator) assertEquals(5, die.roll()) } @Test - fun test_multiple_rolls() { + fun multipleRolls() { val die = Die(6, intGenerator) assertEquals(526242, die.rollMultiple(6)) } @Test - fun test_consecutive_rolls() { + fun consecutiveRolls() { val die = Die(6, intGenerator) assertEquals(5, die.roll()) assertEquals(2, die.roll()) @@ -40,7 +40,7 @@ class DieTest { } @Test - fun test_100_sides() { + fun hundredSides() { val die = Die(100, intGenerator) assertEquals(67, die.roll()) } |