Пример #1
0
def test_rhs_shape():
    ''' Validate that the shape of the rhs method return value
    '''
    a = Attractor()
    xyz = np.array([0.0, 0.0, 0.0])
    assert a.rhs(xyz).shape == (
        3, ), "\n the shape of the array that was returned is not 3 \n"
def test_rhs_shape():
    ''' Validate that the shape of the rhs method return value
    '''
    a = Attractor()
    xyz = np.array([0.0, 0.0, 0.0])
    assert a.rhs(xyz).shape == (3, ), "\n the shape of the array that was returned is not 3 \n"