StunxFS / TestSuit.h

Testing suite for C/C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestSuit.h

Testing suite for C/C++

TestSuit.h is a testing suite for C and C ++. The library works on both without any modification 😄

Example of use:

#include "TestSuit.h"

TSNewTestSuit(2) // tests counts -> 2

TSTest("Testing TestSuit.h", {
	int a = 100;
	TSCheck(a == 100);
});

TSTest("Testing TestSuit.h 2", {
	int a = 100 > 150;
	TSCheck(a == 0);
});

TSEndTestSuit // End testing

About

Testing suite for C/C++

License:MIT License


Languages

Language:C++ 100.0%