diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 20:58:17 +0000 |
| commit | ec3e81b7a7be77836ac52dc6168aa5ac4c498217 (patch) | |
| tree | 6feacc63f6f2cfa51463831a1ea7399f8de9be81 /Tests/TestApp/src/MathLibTest.cpp | |
| parent | Fixed few compiler warnings (diff) | |
| download | DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.tar.gz DiligentEngine-ec3e81b7a7be77836ac52dc6168aa5ac4c498217.zip | |
Added test result reporting
Diffstat (limited to 'Tests/TestApp/src/MathLibTest.cpp')
| -rw-r--r-- | Tests/TestApp/src/MathLibTest.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Tests/TestApp/src/MathLibTest.cpp b/Tests/TestApp/src/MathLibTest.cpp index 78b1560..1aac73e 100644 --- a/Tests/TestApp/src/MathLibTest.cpp +++ b/Tests/TestApp/src/MathLibTest.cpp @@ -27,13 +27,15 @@ #include "pch.h" #include "BasicMath.h" #include "DebugUtilities.h" +#include "UnitTestBase.h" using namespace Diligent; -class MathLibTest +class MathLibTest : public UnitTestBase { public: - MathLibTest() + MathLibTest() : + UnitTestBase("Mathlib test") { // Ctor { @@ -497,7 +499,8 @@ public: 9, 10, 11); std::hash<float3x3>()(m2); } + SetStatus(TestResult::Succeeded); } }; -static MathLibTest MathLibTest;
\ No newline at end of file +static MathLibTest MathLibTest; |
