def test_splittable_unfilled_f2(self): sp = check_groups_splittable([2, 2, 2, 2, 2, 3], 5, 3) self.assertEqual(sp, False)
def test_splittable_f2(self): sp = check_groups_splittable([1, 3, 3, 3], 2, 5) self.assertEqual(sp, False)
def test_splittable_unfilled_f(self): sp = check_groups_splittable([3, 3, 3], 2, 5) self.assertEqual(sp, False)
def test_splittable_f(self): sp = check_groups_splittable([3, 2, 3], 2, 4) self.assertEqual(sp, False)
def test_splittable_sm(self): sp = check_groups_splittable([1], 2, 4) self.assertEqual(sp, True)
def test_splittable_4(self): sp = check_groups_splittable([2, 2, 2, 2, 2], 5, 3) self.assertEqual(sp, True)
def test_splittable_3(self): sp = check_groups_splittable([1, 1, 2, 2, 3, 3], 3, 4) self.assertEqual(sp, True)
def test_splittable(self): sp = check_groups_splittable([1, 1, 1, 1], 2, 2) self.assertEqual(sp, True)