mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
feat: detailed the printed info
This commit is contained in:
parent
ec828dfaa3
commit
2f585a3318
@ -3,6 +3,7 @@
|
|||||||
#include "prep/prep.hh"
|
#include "prep/prep.hh"
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cstdio>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@ -32,7 +33,7 @@ void run() {
|
|||||||
Room room1(1, "Room 1", 1710087364, RoomStatus::IN_PROGRESS, {});
|
Room room1(1, "Room 1", 1710087364, RoomStatus::IN_PROGRESS, {});
|
||||||
Room room2(2, "Room 2", 1710087384, RoomStatus::ENDED, {player1, player2});
|
Room room2(2, "Room 2", 1710087384, RoomStatus::ENDED, {player1, player2});
|
||||||
int actionValidated = validateAction(&player1, &kill, &room1, &relatedEvents, &player2);
|
int actionValidated = validateAction(&player1, &kill, &room1, &relatedEvents, &player2);
|
||||||
std::cout << actionValidated << std::endl;
|
printf("The action validation result is %u\n", actionValidated);
|
||||||
}
|
}
|
||||||
|
|
||||||
int validateAction(
|
int validateAction(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user