(view1: View, view2: View, distance?: number, message?: string)
| 109 | } |
| 110 | |
| 111 | export function isBelow(view1: View, view2: View, distance?: number, message?: string) { |
| 112 | TKUnit.assert(top(view1) >= bottom(view2), message || `${view1}.top:${top(view1)} is not below ${view2}.bottom:${bottom(view1)}`); |
| 113 | } |
| 114 | |
| 115 | export function isLeftWith(view1: View, view2: View, distance: number, message?: string) { |
| 116 | TKUnit.assertTrue(Math.abs(left(view1) + distance - left(view2)) <= EPS, message || `${view1}.left:${left(view1)} is not ${distance} of ${view2}.left:${left(view2)}`); |
no test coverage detected