def test_are_subarray_len_valid_false_3(self): n = [[1, 0], [1, 2], [3, 4], [5, 6]] res = vld.are_subarray_len_valid(n, 5) self.assertEqual(res, False)
def test_are_subarray_len_valid_true(self): n = [[1, 0], [1, 2], [3, 4], [5, 6]] res = vld.are_subarray_len_valid(n, 2) self.assertEqual(res, True)
def test_are_subarray_len_empty_list(self): n = [] res = vld.are_subarray_len_valid(n, 0) self.assertEqual(res, True)
def test_are_subarray_len_valid_str(self): n = "1234" res = vld.are_subarray_len_valid(n, 1) self.assertEqual(res, True)