def test_blocksandborders_constrained_3_2(self): """ """ ans = blocksandborders_constrained(3, 2, self.edge, self.edge_star) self.assertListEqual(ans, [4, 2])
def test_blocksandborders_constrained_5_5(self): """ """ ans = blocksandborders_constrained(6, 6, self.edge, self.edge_star) self.assertListEqual(ans, [6])
def test_blocksandborders_constrained_2_3(self): """ """ ans = blocksandborders_constrained(2, 3, self.edge, self.edge_star) self.assertListEqual(ans, [2, 1, 3])
def test_blocksandborders_constrained_1_1(self): """ """ ans = blocksandborders_constrained(1, 1, self.edge, self.edge_star) self.assertListEqual(ans, [1, 3, 1, 1])