1. The Enzo Project
  2. Untitled project
  3. enzo-dev

Pull requests

#98 Merged
Repository
samskillman
Branch
week-of-code
Repository
enzo
Branch
week-of-code

For all non-standard tests, only test the final output, saving time and space.

Author
  1. Sam Skillman
Reviewers
Description

Remove the testing for all outputs other than the final one. Cuts down on testing time and space, since many of these tests include actual images.

Update #1: Fixes up the printing of errors in test_results.txt. By splitting on \n in the error message, and adding some spaces, now a sample error output looks like:

OneZoneFreefallTest__test_freefall.test_freefall: FAILURE (<type 'exceptions.AssertionError'>, AssertionError('
    Not equal to tolerance rtol=1e-13, atol=0
    Field values for Temperature not equal.
    (mismatch 100.0%)
     x: array([ 2572.02141414,    88.93459072,  5803.47882598])
     y: array([ 2572.02041667,    88.93459102,  5805.21105971])',), <traceback object at 0x4058d88>)

Comments (0)