File tree 1 file changed +3
-3
lines changed
src/org/sosy_lab/java_smt/test
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
package org .sosy_lab .java_smt .test ;
10
10
11
11
import static com .google .common .truth .TruthJUnit .assume ;
12
+ import static org .sosy_lab .java_smt .api .FormulaType .getSinglePrecisionFloatingPointType ;
12
13
import static org .sosy_lab .java_smt .test .BooleanFormulaSubject .assertUsing ;
13
14
import static org .sosy_lab .java_smt .test .ProverEnvironmentSubject .assertThat ;
14
15
39
40
import org .sosy_lab .java_smt .api .FloatingPointFormulaManager ;
40
41
import org .sosy_lab .java_smt .api .Formula ;
41
42
import org .sosy_lab .java_smt .api .FormulaManager ;
42
- import org .sosy_lab .java_smt .api .FormulaType .FloatingPointType ;
43
43
import org .sosy_lab .java_smt .api .IntegerFormulaManager ;
44
44
import org .sosy_lab .java_smt .api .Model ;
45
45
import org .sosy_lab .java_smt .api .NumeralFormula .IntegerFormula ;
@@ -241,11 +241,11 @@ protected final void requireBitvectorToInt() {
241
241
.isNotEqualTo (Solvers .YICES2 );
242
242
}
243
243
244
+ @ SuppressWarnings ("CheckReturnValue" )
244
245
protected final void requireFPToBitvector () {
245
246
requireFloats ();
246
247
try {
247
- fpmgr .toIeeeBitvector (
248
- fpmgr .makeNumber (0 , FloatingPointType .getSinglePrecisionFloatingPointType ()));
248
+ fpmgr .toIeeeBitvector (fpmgr .makeNumber (0 , getSinglePrecisionFloatingPointType ()));
249
249
} catch (UnsupportedOperationException e ) {
250
250
assume ()
251
251
.withMessage ("Solver %s does not yet support FP-to-BV conversion" , solverToUse ())
You can’t perform that action at this time.
0 commit comments