R-Type
2
Doom but in better
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
#include "
Tests.hpp
"
2
3
int
main
(
void
) {
4
int
ok_test =
tests
.size();
5
6
for
(
auto
&test :
tests
) {
7
ok_test += test();
8
}
9
10
cleanup
();
11
std::cout <<
"Successful tests: "
<< ok_test <<
"\tFailed tests: "
<<
tests
.size() - ok_test << std::endl;
12
return
0;
13
}
Tests.hpp
tests
const std::vector< std::function< int(void)> > tests
A collection of test functions to be executed.
Definition
Tests.hpp:124
cleanup
void cleanup(void)
Cleans up any resources or states after tests.
Definition
Tests.cpp:48
main
int main(void)
Definition
main.cpp:3
game_source
tests
main.cpp
Generated on Thu Feb 6 2025 22:34:21 for R-Type by
1.12.0