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 UnitAssertAssertions.assertThat(javax.measure.Unit actual) Creates a new instance of.UnitAssertJUnitSoftAssertions.assertThat(javax.measure.Unit actual) Creates a new "soft" instance of.UnitAssertSoftAssertions.assertThat(javax.measure.Unit actual) Creates a new "soft" instance of.UnitAssertstatic UnitAssertBddAssertions.then(javax.measure.Unit actual) Creates a new instance of.UnitAssert -
Uses of UnitAssert in tech.uom.lib.assertj.assertions
Subclasses with type arguments of type UnitAssert in tech.uom.lib.assertj.assertionsModifier and TypeClassDescriptionclassUnitspecific assertions - Generated by CustomAssertionGenerator.Methods in tech.uom.lib.assertj.assertions that return UnitAssertModifier and TypeMethodDescriptionstatic UnitAssertUnitAssert.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.