Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
Modifier and Type | Method and Description |
---|---|
PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison |
PrimitiveFloatArraySubject.hasValuesNotWithin(float tolerance)
Deprecated.
Write a for loop over the values looking for mismatches (see this implementation
for an example)
|
PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison |
PrimitiveFloatArraySubject.hasValuesWithin(float tolerance)
Deprecated.
Use
PrimitiveFloatArraySubject.usingTolerance(double) , e.g. assertThat(floatArray).usingTolerance(1e-5).containsExactly(1.2f, 3.4f, 5.6f).inOrder(); |
Copyright © 2018. All rights reserved.