Add Tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user