Commits

Carl Friedrich Bolz committed 69a33b0

check differently

  • Participants
  • Parent commits 282c41e
  • Branches small-unroll-improvements

Comments (0)

Files changed (1)

File rpython/jit/metainterp/test/test_loop.py

             for i in range(7):
                 sa += f(n, s)
             return sa
-        assert self.meta_interp(g, [25, 1]) == 7 * 25 * (7 + 8)
+        assert self.meta_interp(g, [25, 1]) == g(25, 1)
 
         def h(n):
             return g(n, 1) + g(n, 2)
-        assert self.meta_interp(h, [25]) == 7 * 25 * (7 + 8 + 2 + 3)
+        assert self.meta_interp(h, [25]) == h(25)
+
 
     def test_three_nested_loops(self):
         myjitdriver = JitDriver(greens = ['i'], reds = ['x'])