Skip to content

Commit

Permalink
Test for new quantity addition was extended with implicit dimension c…
Browse files Browse the repository at this point in the history
…heck
  • Loading branch information
buzden committed Nov 28, 2018
1 parent 84edf68 commit 3149cd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared/src/test/scala/squants/QuantitySpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -702,4 +702,8 @@ class QuantitySpec extends FlatSpec with Matchers with CustomMatchers with TryVa
timeInMinutes.hashCode() shouldBe timeInSeconds.hashCode()

}

it should "provide implicit instance for Dimension" {
implicitly[Dimension[Thingee]] should be(Thingee)
}
}

0 comments on commit 3149cd7

Please sign in to comment.