Add Tests

This commit is contained in:
2020-05-01 11:15:15 +02:00
parent a45717eaf6
commit 863f0db365
14 changed files with 351 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "UseDatabase.h"
#include "SingleConnection.h"
#include "MultipleConnections.h"
#include "MultipleThreads.h"
#include <iostream>
int main(int argc, char *argv[])
{
if (
Test::UseDatabase() &&
Test::SingleConnection() &&
Test::MultipleConnections() &&
Test::MultipleThreads()
)
{
std::cout << "Pass" << std::endl;
return 0;
}
std::cout << "Fail" << std::endl;
}