Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running test.py #9

Open
schweb5 opened this issue Apr 19, 2019 · 0 comments
Open

Issue running test.py #9

schweb5 opened this issue Apr 19, 2019 · 0 comments

Comments

@schweb5
Copy link

schweb5 commented Apr 19, 2019

Hi,

after I ran test.py I found the first error where \plots\strain_lf.png was missing.
I created a fake file at the path and the program ran.
However, the following error was returned.
I run Anaconda Py3.7 with all the necessary libraries loaded up.

Can you fix it?

First Ply Failure at LF: 175
Last Ply Failure at LF: 608
LPF / FPF : 3.5
.........F.F....FExecution time: 0.0013759140056208707 seconds.

======================================================================
FAIL: test_calc_moistures_forces_known_input_returns_expected_result (main.CLTFunctionsTest)
Sends known input to the function and expects a known output,

Traceback (most recent call last):
File "C:/Users/admin/Desktop/Python/lamipy-master/tests.py", line 382, in test_calc_moistures_forces_known_input_returns_expected_result
self.assertTrue(0.999 < error < 1.001)
AssertionError: False is not true

======================================================================
FAIL: test_calc_thermal_forces_known_input_returns_expected_result (main.CLTFunctionsTest)
Sends known input to the function and expects a known output,

Traceback (most recent call last):
File "C:/Users/admin/Desktop/Python/lamipy-master/tests.py", line 305, in test_calc_thermal_forces_known_input_returns_expected_result
self.assertTrue(0.999 < error < 1.001)
AssertionError: False is not true

======================================================================
FAIL: test_tsaiwu_2D_known_input_returns_expected_result (main.FailureCriteriaTest)

Traceback (most recent call last):
File "C:/Users/admin/Desktop/Python/lamipy-master/tests.py", line 406, in test_tsaiwu_2D_known_input_returns_expected_result
self.fail('Finish this test!')
AssertionError: Finish this test!


Ran 17 tests in 0.019s

FAILED (failures=3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant