-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24951 from roystgnr/test_failbit
Test failbit when converting boundary ids
- Loading branch information
Showing
5 changed files
with
48 additions
and
0 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
Binary file added
BIN
+3.95 KB
...ts/meshgenerators/polyline_mesh_generator/gold/polyline_mesh_generator_good_boundary_in.e
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_bad_boundary.i
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Mesh] | ||
[poly] | ||
type = PolyLineMeshGenerator | ||
points = '-1.0 0.0 0.0 | ||
1.0 1.0 1.0 | ||
1.0 2.0 3.0' | ||
# This should error for 16-bit boundary id configs: | ||
start_boundary = 40000 | ||
# This should error even for 64-bit boundary id configs: | ||
end_boundary = 123456789012345678901234567890 | ||
[] | ||
[] |
10 changes: 10 additions & 0 deletions
10
test/tests/meshgenerators/polyline_mesh_generator/polyline_mesh_generator_good_boundary.i
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Mesh] | ||
[poly] | ||
type = PolyLineMeshGenerator | ||
points = '-1.0 0.0 0.0 | ||
1.0 1.0 1.0 | ||
1.0 2.0 3.0' | ||
start_boundary = 'non_numbered' | ||
end_boundary = 42 | ||
[] | ||
[] |
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