| OLD | NEW |
| 1 // Expectation for test: | 1 // Expectation for test: |
| 2 // // Method to test: function(foo) |
| 2 // foo(a, b) => ((a & 0xff0000) >> 1) & b; | 3 // foo(a, b) => ((a & 0xff0000) >> 1) & b; |
| 3 // main() { | 4 // main() { |
| 5 // print(foo.toString()); |
| 4 // print(foo(123, 234)); | 6 // print(foo(123, 234)); |
| 5 // print(foo(0, 2)); | 7 // print(foo(0, 2)); |
| 6 // } | 8 // } |
| 7 | 9 |
| 8 function() { | 10 function(a, b) { |
| 9 P.print((123 & 16711680) >>> 1 & 234); | 11 return (a & 16711680) >>> 1 & b; |
| 10 P.print((0 & 16711680) >>> 1 & 2); | |
| 11 } | 12 } |
| OLD | NEW |