Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

test_airfoilshape and test_geometry fail #82

@hassan-shehawy

Description

@hassan-shehawy

Hi
I installed it in Linux (Ubuntu 14.04.5 LTS) with openmdao-0.10.3.2 and I have 2 tests failing. Below is the error I get when I run the airfoilshape test. Any clue how to solve this?

$ python -m unittest discover 'src/fusedwind/test' 'test_airfoilshape.py'
...F
======================================================================
FAIL: test_pchip (test_airfoilshape.BlendAirfoilTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hassan/fast8/Source/fusedwind/src/fusedwind/test/test_airfoilshape.py", line 155, in test_pchip
    self.assertEqual(np.testing.assert_array_almost_equal(p, p_data, decimal=6), None)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 811, in assert_array_almost_equal
    header=('Arrays are not almost equal to %d decimals' % decimal))
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 6 decimals

(mismatch 95.0%)
 x: array([[  1.00000000e+00,  -1.14022461e-02],
       [  8.83935962e-01,  -2.51371796e-03],
       [  7.66504832e-01,  -2.63775983e-02],...
 y: array([[  1.00000000e+00,  -1.16953764e-02],
       [  8.83275627e-01,  -2.76480783e-03],
       [  7.64862711e-01,  -2.73052190e-02],...

----------------------------------------------------------------------
Ran 4 tests in 0.085s

FAILED (failures=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions