Uses of Class
tech.uom.lib.assertj.assertions.UnitAssert
Packages that use UnitAssert
-
Uses of UnitAssert in tech.uom.lib.assertj
Methods in tech.uom.lib.assertj that return UnitAssertModifier and TypeMethodDescriptionstatic UnitAssert
Assertions.assertThat
(javax.measure.Unit actual) Creates a new instance of
.UnitAssert
JUnitSoftAssertions.assertThat
(javax.measure.Unit actual) Creates a new "soft" instance of
.UnitAssert
SoftAssertions.assertThat
(javax.measure.Unit actual) Creates a new "soft" instance of
.UnitAssert
static UnitAssert
BddAssertions.then
(javax.measure.Unit actual) Creates a new instance of
.UnitAssert
-
Uses of UnitAssert in tech.uom.lib.assertj.assertions
Methods in tech.uom.lib.assertj.assertions that return UnitAssertModifier and TypeMethodDescriptionstatic UnitAssert
UnitAssert.assertThat
(javax.measure.Unit actual) An entry point for UnitAssert to follow AssertJ standardassertThat()
statements.
With a static import, one can write directly:assertThat(myUnit)
and get specific assertion with code completion.