@Test public void testCreateLineFromPointsHorz() { BitMask bm = BitMaskFactory.createLine(Vectors.create(-5, 1), Vectors.create(-1, 1)); bm.trim(); assertEquals(new BoundingBox(1, -5, 1, -1), bm.getBounds()); assertEquals(0xF800000000000000l, bm.getSubmaskElement(0, 0)); }