-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add velocites to tests to imprve coverage.
- Loading branch information
Showing
9 changed files
with
228 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 69 additions & 7 deletions
76
tests/gwb-dat/cartesian_fault_x_and_y_direction/screen-output.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,69 @@ | ||
# x y z d g T vx vy vz c0 c1 tag | ||
-20000 90000 990000 10000 20 0 0 2 0 1 0 | ||
-20000 580000 990000 10000 20 0 0 2 0 1 0 | ||
-20000 910000 990000 10000 20 0 0 2 0 1 0 | ||
70000 -30000 990000 10000 10 0 0 2 1 0 0 | ||
440000 -30000 990000 10000 10 0 0 2 1 0 0 | ||
910000 -30000 990000 10000 10 0 0 2 1 0 0 | ||
Expected fail with: | ||
AssertThrow `(..error type..)` failed in (..path..)/source/world_builder/parameters.cc at line (..line..): Invalid schema: #/properties/features/items | ||
Invalid keyword: oneOfInvalid schema: #/features/0 | ||
Error document: | ||
#/features/0{ | ||
"oneOf": { | ||
"errors": [ | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/0/properties/model" | ||
} | ||
}, | ||
{ | ||
"oneOf": { | ||
"errors": [ | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/velocity%20models/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/1/properties/velocity%20models/items/oneOf/0/properties/model" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/velocity%20models/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/1/properties/velocity%20models/items/oneOf/1/properties/model" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/velocity%20models/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/1/properties/velocity%20models/items/oneOf/2/properties/model" | ||
} | ||
} | ||
], | ||
"instanceRef": "#/features/0/velocity%20models/0", | ||
"schemaRef": "#/properties/features/items/oneOf/1/properties/velocity%20models/items" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/2/properties/model" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/3/properties/model" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/4/properties/model" | ||
} | ||
}, | ||
{ | ||
"enum": { | ||
"instanceRef": "#/features/0/model", | ||
"schemaRef": "#/properties/features/items/oneOf/5/properties/model" | ||
} | ||
} | ||
], | ||
"instanceRef": "#/features/0", | ||
"schemaRef": "#/properties/features/items" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.