def test_valid_list2(): m = 3 A = [1, 2, 3, 1, 2, 3] b = [1, 2] assert_(isinstance(_LMLinConstraints(A, b, m), _LMLinConstraints))
def test_valid_ndarray3(): m = 3 A = np.array([1, 2, 3, 1, 2, 3]) b = np.array([1, 2]) assert_(isinstance(_LMLinConstraints(A, b, m), _LMLinConstraints))
def test_valid_list1(): m = 2 A = [1, 2] b = [1] assert_(isinstance(_LMLinConstraints(A, b, m), _LMLinConstraints))