Skip to content

Commit 60375d8

Browse files
committed
Merge branch 'master' of https://github.com/JHenneberg/fortran-unit-test into JHenneberg-master
# Conflicts: # src/assert_mod.F90
2 parents fa80742 + afcc72f commit 60375d8

File tree

4 files changed

+228
-180
lines changed

4 files changed

+228
-180
lines changed

README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -75,46 +75,46 @@ Output:
7575
```txt
7676
///////////////////// Report of Suite: Default test suite ///////////////////////
7777
78-
-> Details:
79-
Test 1: 0 of 1 assertions succeed.
80-
Assertion #1 failed with reason: x (1.0000) =~ y (2.0000)
81-
Check line: test_assert.F90:13
82-
83-
84-
-> Summary:
85-
Default test suite: 0 of 1 assertions succeed.
78+
+-> Details:
79+
| |
80+
| +-> Test 1: 1 of 1 assertions succeed.
81+
| |
82+
|
83+
+-> Summary:
84+
| +-> Default test suite: 1 of 1 assertions succeed.
8685
8786
////////////////////////////////////////////////////////////////////////////////
8887
8988
9089
//////// Report of Suite: my specific test suite, Case: Specific Test 2 /////////
9190
92-
Specific Test 2: 0 of 1 assertions succeed.
93-
94-
Assertion #1 failed with reason: x (1.0000) == y (2.0000)
95-
Check line: test_assert.F90:25
96-
91+
+-> Specific Test 2: 0 of 1 assertions succeed.
92+
| |
93+
| +-> Assertion #1 failed with reason: x ( 1.000) == y ( 2.000)
94+
| +-> Check line: test_assert.F90:29
9795
9896
/////////////////// Report of Suite: my specific test suite /////////////////////
9997
100-
-> Details:
101-
Specific Test 1: 0 of 1 assertions succeed.
102-
Assertion #1 failed with reason: x (1.0000) =~ y (2.0000)
103-
Check line: Unknown file:-1
104-
105-
Specific Test 2: 0 of 1 assertions succeed.
106-
Assertion #1 failed with reason: x (1.0000) == y (2.0000)
107-
Check line: test_assert.F90:25
108-
109-
Specific Test 3: 0 of 1 assertions succeed.
110-
Assertion #1 failed with reason: x (1.0000) =~ y (2.0000)
111-
Check line: test_assert.F90:28
112-
113-
114-
-> Summary:
115-
my specific test suite: 0 of 3 assertions succeed.
98+
+-> Details:
99+
| |
100+
| +-> Specific Test 1: 1 of 1 assertions succeed.
101+
| |
102+
| +-> Specific Test 2: 0 of 1 assertions succeed.
103+
| | |
104+
| | +-> Assertion #1 failed with reason: x ( 1.000) == y ( 2.000)
105+
| | +-> Check line: test_assert.F90:29
106+
| |
107+
| +-> Specific Test 3: 0 of 1 assertions succeed.
108+
| | |
109+
| | +-> Assertion #1 failed with reason: x ( 1.000) =~ y ( 2.000)
110+
| | +-> Check line: test_assert.F90:32
111+
| |
112+
|
113+
+-> Summary:
114+
| +-> my specific test suite: 1 of 3 assertions succeed.
116115
117116
////////////////////////////////////////////////////////////////////////////////
117+
118118
```
119119

120120
You can integrate this library into your CMake based project as:

0 commit comments

Comments
 (0)