Skip to content

Instantly share code, notes, and snippets.

@floswald
Created April 2, 2015 16:56
Show Gist options
  • Save floswald/2759d21d16508e9e9927 to your computer and use it in GitHub Desktop.
Save floswald/2759d21d16508e9e9927 to your computer and use it in GitHub Desktop.
pfunit test return code
➜ Semi-Automatic git:(master) ✗ pwd
/Users/florianoswald/git/pfunit/Examples/Simple/Semi-Automatic
➜ Semi-Automatic git:(master) ✗ ./tests.x
..F.F...F..
Time: 0.063 seconds
Failure in: testAdd2
Location: [myTests.pf:17]
FLOs intentionally broken test expected: +5.000000 but found: +4.000000; difference: |+1.000000| > tolerance:+0.000000.
Failure in: testAddBroken
Location: [myTests.pf:27]
intentional broken test expected: +1.000000 but found: +3.000000; difference: |+2.000000| > tolerance:+0.000000.
Failure in: testAddComplexMultiDimBroken
Location: [myTests.pf:69]
intentionally broken expected: z=( +2.000000 , +0.000000 ) but found: z=( +0.000000 , +0.000000 ); difference: |+2.000000| > tolerance:+0.000000; first difference at element [2, 2].
FAILURES!!!
Tests run: 8, Failures: 3, Errors: 0
➜ Semi-Automatic git:(master) ✗ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment