Uses of Class
org.fest.assertions.data.Offset
Packages that use Offset
Package
Description
-
Uses of Offset in org.fest.assertions.api
Methods in org.fest.assertions.api that return OffsetModifier and TypeMethodDescriptionOnly delegate tooffset(Double)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useOffset
if you prefer).Only delegate tooffset(Float)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useOffset
if you prefer).Methods in org.fest.assertions.api with parameters of type OffsetModifier and TypeMethodDescriptionVerifies that the actual value is equal to the given one, within a positive offset.Verifies that the actual value is equal to the given one, within a positive offset.Verifies that the actual value is equal to the given one, within a positive offset.Verifies that the actual value is equal to the given one, within a positive offset. -
Uses of Offset in org.fest.assertions.core
Methods in org.fest.assertions.core with parameters of type Offset -
Uses of Offset in org.fest.assertions.data
Methods in org.fest.assertions.data that return Offset -
Uses of Offset in org.fest.assertions.error
Methods in org.fest.assertions.error with parameters of type OffsetModifier and TypeMethodDescriptionstatic <T extends Number>
ErrorMessageFactoryShouldBeEqualWithinOffset.shouldBeEqual
(T actual, T expected, Offset<T> offset, T difference) Creates a new
.ShouldBeEqualWithinOffset
static ErrorMessageFactory
ShouldBeEqualImages.shouldBeEqualImages
(Offset<Integer> offset) Creates a new
.ShouldBeEqualImages
-
Uses of Offset in org.fest.assertions.internal
Methods in org.fest.assertions.internal with parameters of type OffsetModifier and TypeMethodDescriptionvoid
Doubles.assertEqual
(AssertionInfo info, Double actual, Double expected, Offset<Double> offset) Verifies that two floats are equal within a positive offset.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy.void
Floats.assertEqual
(AssertionInfo info, Float actual, Float expected, Offset<Float> offset) Verifies that two floats are equal within a positive offset.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy.protected boolean
protected boolean
protected abstract boolean
Returns true if the two floats parameter are equal within a positive offset, false otherwise.
It does not rely on the custom comparisonStrategy (if one is set) because using an offset is already a specific comparison strategy.