Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class BowlingTest extends AnyFunSuite with Matchers:
pending
rollAll(List(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 6)).score() should be(Right(26))

test("the second bonus rolls after a strike in the last frame cannot be a strike if the first one is not a strike"):
test("the second bonus roll after a strike in the last frame cannot be a strike if the first one is not a strike"):
pending
rollAll(List(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 6)).roll(10).score().isLeft should be(true)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FlattenArrayTest extends AnyFunSuite with Matchers:
pending
FlattenArray.flatten(List(0, 2, List(List(2, 3), 8, 100, 4, List(List(List(50)))), -2)) should be(List(0, 2, 2, 3, 8, 100, 4, 50, -2))

test("6 level nesting"):
test("5 level nesting with multiple nested arrays"):
pending
FlattenArray.flatten(List(1, List(2, List(List(3)), List(4, List(List(5))), 6, 7), 8)) should be(List(1, 2, 3, 4, 5, 6, 7, 8))

Expand All @@ -42,7 +42,7 @@ class FlattenArrayTest extends AnyFunSuite with Matchers:
pending
FlattenArray.flatten(List(1, null, null, 4)) should be(List(1, 4))

test("6 level nested array with null values"):
test("4 level nested array with null values"):
pending
FlattenArray.flatten(List(0, 2, List(List(2, 3), 8, List(List(100)), null, List(List(null))), -2)) should be(List(0, 2, 2, 3, 8, 100, -2))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CipherTest extends AnyFunSuite with Matchers:
cipher.decode(cipher.key.substring(0, 10)) should be("aaaaaaaaaa")

test(
"Random key cipher - Is reversible. I.e., if you apply decode in a encoded result, you must see the same plaintext encode parameter as a result of the decode method",
"Random key cipher - Is reversible. I.e., if you apply decode to an encoded result, you must see the same plaintext encode parameter as a result of the decode method",
):
pending
val cipher = Cipher(None)
Expand All @@ -39,7 +39,7 @@ class CipherTest extends AnyFunSuite with Matchers:
cipher.decode("abcdefghij") should be("aaaaaaaaaa")

test(
"Substitution cipher - Is reversible. I.e., if you apply decode in a encoded result, you must see the same plaintext encode parameter as a result of the decode method",
"Substitution cipher - Is reversible. I.e., if you apply decode to an encoded result, you must see the same plaintext encode parameter as a result of the decode method",
):
pending
val cipher = Cipher(Some("abcdefghij"))
Expand Down