File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/org/sosy_lab/java_smt/test Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,8 @@ public void testRound() {
462462 String actualResult = String .valueOf (Generator .getLines ());
463463
464464 String expectedResult =
465- "(declare-const a (_ FloatingPoint 8 24))\n " + "(assert (fp.eq a (fp.round RNE a)))\n " ;
465+ "(declare-const a (_ FloatingPoint 8 24))\n " + "(assert (fp.eq a (fp.roundToIntegral RNE "
466+ + "a)))\n " ;
466467
467468 assertThat (actualResult ).isEqualTo (expectedResult );
468469 }
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ public void testToString() {
250250 String actualResult = String .valueOf (Generator .getLines ());
251251
252252 String expectedResult =
253- "(declare-const result String)\n " + "(assert (= (int.to_str 42) result))\n " ;
253+ "(declare-const result String)\n " + "(assert (= (str.from_int 42) result))\n " ;
254254
255255 assertThat (actualResult ).isEqualTo (expectedResult );
256256 }
You can’t perform that action at this time.
0 commit comments