I want to test a couple of functions in my source code with unit tests. Now If I run my test I don't get any test results.
Here is a simple Code Snippet what I try to do:
#include <iostream>
using namespace std;
namespace UnitTest
{
[TestClass]
public ref class UnitTestBlueSmart
int main(){
public:
[TestMethod()]
hello();
}
}
void hello(){
cout<<"Hello World!";
}
Does anyone know why this is not working?