diff options
| author | rPatrickWarner <[email protected]> | 2024-04-17 19:26:53 -0700 |
|---|---|---|
| committer | rPatrickWarner <[email protected]> | 2024-04-17 19:26:53 -0700 |
| commit | 7d7a3c44568dd6c041e3fdb2d994e50fc7b9016e (patch) | |
| tree | f7377f09f0e6e6c6528f7c9be343e03782d6c019 /CST 126/UnitTest1/UnitTest1.cpp | |
| parent | Finished guessing game (diff) | |
| download | homework-1-reecepwarner-7d7a3c44568dd6c041e3fdb2d994e50fc7b9016e.tar.xz homework-1-reecepwarner-7d7a3c44568dd6c041e3fdb2d994e50fc7b9016e.zip | |
unit test
Diffstat (limited to 'CST 126/UnitTest1/UnitTest1.cpp')
| -rw-r--r-- | CST 126/UnitTest1/UnitTest1.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/CST 126/UnitTest1/UnitTest1.cpp b/CST 126/UnitTest1/UnitTest1.cpp new file mode 100644 index 0000000..a022236 --- /dev/null +++ b/CST 126/UnitTest1/UnitTest1.cpp @@ -0,0 +1,20 @@ +#include "pch.h" +#include "CppUnitTest.h" + +#include "TempLogHelper.hpp" + +using namespace Microsoft::VisualStudio::CppUnitTestFramework; + +namespace UnitTest1 +{ + TEST_CLASS(UnitTest1) + { + public: + + TEST_METHOD(Addition_Function_Correctly) + { + int result = add(15, 15, 15); + Assert::AreEqual(45, result); + } + }; +} |