Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
7820fdef
Commit
7820fdef
authored
Feb 4, 2022
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Add missing tests for FaceIntegrator
parent
05d4f36f
No related branches found
No related tags found
1 merge request
!127
Add missing tests and check that required formula exist at runtime
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/scheme/FaceIntegrator.hpp
+4
-0
4 additions, 0 deletions
src/scheme/FaceIntegrator.hpp
tests/test_FaceIntegrator.cpp
+1273
-283
1273 additions, 283 deletions
tests/test_FaceIntegrator.cpp
with
1277 additions
and
283 deletions
src/scheme/FaceIntegrator.hpp
+
4
−
0
View file @
7820fdef
...
@@ -144,9 +144,11 @@ class FaceIntegrator
...
@@ -144,9 +144,11 @@ class FaceIntegrator
}
}
break
;
break
;
}
}
// LCOV_EXCL_START
default
:
{
default
:
{
invalid_face
=
std
::
make_pair
(
true
,
face_id
);
invalid_face
=
std
::
make_pair
(
true
,
face_id
);
}
}
// LCOV_EXCL_STOP
}
}
});
});
...
@@ -159,7 +161,9 @@ class FaceIntegrator
...
@@ -159,7 +161,9 @@ class FaceIntegrator
// LCOV_EXCL_STOP
// LCOV_EXCL_STOP
}
else
{
}
else
{
// LCOV_EXCL_START
throw
UnexpectedError
(
"invalid dimension for face integration"
);
throw
UnexpectedError
(
"invalid dimension for face integration"
);
// LCOV_EXCL_STOP
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
tests/test_FaceIntegrator.cpp
+
1273
−
283
View file @
7820fdef
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment