-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68c5022
commit ab1d8c6
Showing
4 changed files
with
96 additions
and
26 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
39 changes: 39 additions & 0 deletions
39
applications/convection_diffusion_application/tests/cpp_tests/test_example.cpp
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,39 @@ | ||
// KRATOS ___ ___ _ ___ __ ___ ___ ___ ___ | ||
// / __/ _ \| \| \ \ / /__| \_ _| __| __| | ||
// | (_| (_) | .` |\ V /___| |) | || _|| _| | ||
// \___\___/|_|\_| \_/ |___/___|_| |_| APPLICATION | ||
// | ||
// License: BSD License | ||
// license: convection_diffusion_application/license.txt | ||
// | ||
// Main authors: Vicente Mataix Ferrandiz | ||
// | ||
|
||
// System includes | ||
#include <limits> | ||
|
||
// External includes | ||
|
||
// Project includes | ||
#include "testing/testing.h" | ||
|
||
|
||
namespace Kratos | ||
{ | ||
namespace Testing | ||
{ | ||
/// Tests | ||
|
||
/** Example test | ||
*/ | ||
|
||
KRATOS_TEST_CASE_IN_SUITE(ExampleTest, KratosConvectionDiffusionFastSuite) | ||
{ | ||
constexpr double tolerance = 1e-6; | ||
|
||
// Check | ||
KRATOS_CHECK(true); | ||
} | ||
} // namespace Testing | ||
} // namespace Kratos. | ||
|
9 changes: 9 additions & 0 deletions
9
applications/convection_diffusion_application/tests/run_cpp_unit_tests.py
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,9 @@ | ||
from KratosMultiphysics import * | ||
from KratosMultiphysics.ConvectionDiffusionApplication import * | ||
|
||
def run(): | ||
Tester.SetVerbosity(Tester.Verbosity.PROGRESS) # TESTS_OUTPUTS | ||
Tester.RunTestSuite("KratosConvectionDiffusionFastSuite") | ||
|
||
if __name__ == '__main__': | ||
run() |
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