(nodes, msgPrefix)
| 1978 | } |
| 1979 | |
| 1980 | function assertSecondaryRightToPrimaryBox(nodes, msgPrefix) { |
| 1981 | var msgPrefixFmt = msgPrefix ? '[' + msgPrefix + '] ' : ''; |
| 1982 | |
| 1983 | assertElemRightTo( |
| 1984 | nodes.secondaryBox, |
| 1985 | nodes.primaryBox, |
| 1986 | msgPrefixFmt + 'Secondary box right to primary box' |
| 1987 | ); |
| 1988 | assertElemTopsAligned( |
| 1989 | nodes.secondaryBox, |
| 1990 | nodes.primaryBox, |
| 1991 | msgPrefixFmt + 'Top edges of primary and secondary boxes aligned' |
| 1992 | ); |
| 1993 | } |
| 1994 | |
| 1995 | function calcLineOverlap(minA, maxA, minB, maxB) { |
| 1996 | expect(minA).toBeLessThan(maxA); |
no outgoing calls
no test coverage detected
searching dependent graphs…