Changed current relation from BasicBlock to BasicBlockImpl, and Function
[jitcs.git] / tests / test_main.cpp
blobb12da1c378b0f1d1020ea81600544d9c19f99b2b
1 #include "unittest.h"
2 #include <stdio.h>
4 using namespace jitcs;
6 int main() {
7 UnitTest t;
9 UnitTestRegistry::get()->runTests(t);
11 printf("total number of successful tests: %d\n", t.getNumberOfSuccessfulTests());
12 printf("total number of failed tests: %d\n", t.getNumberOfFailedTests());
13 return t.getNumberOfFailedTests();