(x, y)
| 1141 | expose(assert_false, "assert_false"); |
| 1142 | |
| 1143 | function same_value(x, y) { |
| 1144 | if (y !== y) { |
| 1145 | //NaN case |
| 1146 | return x !== x; |
| 1147 | } |
| 1148 | if (x === 0 && y === 0) { |
| 1149 | //Distinguish +0 and -0 |
| 1150 | return 1/x === 1/y; |
| 1151 | } |
| 1152 | return x === y; |
| 1153 | } |
| 1154 | |
| 1155 | function assert_equals(actual, expected, description) |
| 1156 | { |
no outgoing calls
no test coverage detected