(actual: T, expected: T, msg: string)
| 43 | } |
| 44 | |
| 45 | export function assertEqual<T>(actual: T, expected: T, msg: string) { |
| 46 | if (!(actual == expected)) { |
| 47 | throwError(msg, actual, expected, '=='); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | export function assertNotEqual<T>(actual: T, expected: T, msg: string): asserts actual is T { |
| 52 | if (!(actual != expected)) { |
no test coverage detected
searching dependent graphs…