mirror of
https://github.com/AxioDL/kabufuda.git
synced 2025-12-09 21:47:41 +00:00
Initial Commit
This commit is contained in:
6
test/CMakeLists.txt
Normal file
6
test/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
add_executable(cardtest
|
||||
main.cpp)
|
||||
|
||||
target_link_libraries(cardtest
|
||||
card)
|
||||
12
test/main.cpp
Normal file
12
test/main.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "Card.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
card::Card card{"test.mc"};
|
||||
card.setGame("GM8E");
|
||||
card.setMaker("01");
|
||||
printf("Selected Game ID: %.4s\n", card.getGame());
|
||||
printf("Selected Maker ID: %.2s\n", card.getMaker());
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user