Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Apr 12, 2023
1 parent 76f76fd commit 9d64f5c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,11 @@ class ArraySeqTest {
Assert.assertEquals(ArraySeq[T](), array.slice(1, 1))
Assert.assertEquals(ArraySeq[T](), array.slice(2, 1))
}

@Test def ArraySeqIndexedSeqOptimized(): Unit = {
val x = ArraySeq(1, 2)
val y = ArraySeq(3, 4)
val z: ArraySeq[Int] = x ++ y
assert(z.toList == List(1, 2, 3, 4))
}
}

0 comments on commit 9d64f5c

Please sign in to comment.