Skip to content

Commit

Permalink
specialization test
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonm committed Nov 1, 2015
1 parent 91c5c5a commit 04a38d1
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -21,6 +21,14 @@ class CQueueSpec extends WordSpec with Matchers {
q.isEmpty should be (true)

intercept[NoSuchElementException](q.deque())

// Check that fastutils were used
try {
q.deque()
} catch {
case e: Throwable =>
e.getStackTrace.head.getClassName.contains("it.unimi.dsi.fastutil") shouldEqual (true)
}
}

"CQueue" should {
Expand Down

0 comments on commit 04a38d1

Please sign in to comment.