aboutsummaryrefslogtreecommitdiff
path: root/CST 126/unit_tests/unit_tests.cpp
blob: 661ec9cfb9121e7775f9d2b5ebf390c4dc241a95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "pch.h"
#include "CppUnitTest.h"

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace unittests
{
	TEST_CLASS(unittests)
	{
	public:
		
		TEST_METHOD(Addition_Function_Overloads_Correctly)
		{
			//Arrange
			
			//Act
			int result = add(15, 15, 15);

			//Assert

			Assert::AreEqual(45, result);
		}
	};
}