Fixed missing headers for test
This commit is contained in:
@ -5,12 +5,11 @@
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "poker/card.h"
|
||||
#include "poker/poker.h"
|
||||
#include "tests.h"
|
||||
|
||||
int main() {
|
||||
int32_t main() {
|
||||
return (
|
||||
test_card() == 0 &&
|
||||
test_poker() == 0
|
||||
test_card() ||
|
||||
test_poker()
|
||||
);
|
||||
}
|
12
test/tests.h
Normal file
12
test/tests.h
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "poker/card.h"
|
||||
#include "poker/poker.h"
|
||||
|
||||
int32_t main();
|
Reference in New Issue
Block a user