def test_numpy_vector_equality_others():

    @parameterize
    def check(value, other_value, expected):
        """Vector node value {0} == {1}: {2}"""
        # pylint: disable=W0212
        #         Access to a protected member of a client class

        vector = VectorEq(value)
        assert expected == vector._value_eq(other_value)

    yield check(DIRTY, np.array([[1,2],[3,4]]), False)
    yield check(np.array([[1,2],[3,4]]), np.array([[1,2],[3,4]]), True)
    yield check(np.array([[1,2],[3,4]]), np.array([[1,2],[3,5]]), False)
    yield check(np.array([[1,2],[3,4]]), [[1,2],[3,4]], False)
    yield check(np.array([[1,2]]), np.array([[1,2],[1,2]]), False)
Test cases for lusmu.vector.VectorEq._value_eq() with complex data types
dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_vector.py/test_numpy_vector_equality_others