def test_b(self): room = Room(100, 50) tile = Tile(60, 20) border = 0 init = {} installation = Installation(room, tile, border, init) plan = installation.process() installation.print() self.sanity_checks(init, plan, room, border)
def test_a(self): room = Room(3330, 2700) tile = Tile(1286, 194) border = 8 init = { 0: 1286, 12: 1286 } installation = Installation(room, tile, border, init) plan = installation.process() installation.print() self.sanity_checks(init, plan, room, border)
def main(): room = Room(3330, 2700) tile = Tile(1286, 194) border = 8 init = { 5: 1286, 10: 1286 } installation = Installation(room, tile, border, init) plan = installation.process() installation.print() Printer.print(plan)