Uses of Class
tech.uom.lib.assertj.assertions.DimensionAssert
| Package | Description |
|---|---|
| tech.uom.lib.assertj | |
| tech.uom.lib.assertj.assertions |
-
Uses of DimensionAssert in tech.uom.lib.assertj
Methods in tech.uom.lib.assertj that return DimensionAssert Modifier and Type Method Description static DimensionAssertAssertions. assertThat(javax.measure.Dimension actual)Creates a new instance of.javax.measure.DimensionAssertDimensionAssertSoftAssertions. assertThat(javax.measure.Dimension actual)Creates a new "soft" instance of.DimensionAssertstatic DimensionAssertBddAssertions. then(javax.measure.Dimension actual)Creates a new instance of.DimensionAssert -
Uses of DimensionAssert in tech.uom.lib.assertj.assertions
Methods in tech.uom.lib.assertj.assertions that return DimensionAssert Modifier and Type Method Description static DimensionAssertDimensionAssert. assertThat(javax.measure.Dimension actual)An entry point for DimensionAssert to follow AssertJ standardassertThat()statements.
With a static import, one can write directly:assertThat(myDimension)and get specific assertion with code completion.