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 |
---|---|
PrimitiveDoubleArraySubject.TolerantPrimitiveDoubleArrayComparison |
PrimitiveDoubleArraySubject.hasValuesNotWithin(double tolerance)
Deprecated.
Write a for loop over the values looking for mismatches (see this implementation
for an example)
|
PrimitiveDoubleArraySubject.TolerantPrimitiveDoubleArrayComparison |
PrimitiveDoubleArraySubject.hasValuesWithin(double tolerance)
Deprecated.
Use
PrimitiveDoubleArraySubject.usingTolerance(double) , e.g. assertThat(doubleArray).usingTolerance(1e-5).containsExactly(1.2, 3.4, 5.6).inOrder(); |
Copyright © 2018. All rights reserved.