mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
feat: remove functionToTest
This commit is contained in:
parent
93791b4ef6
commit
423669ab42
@ -96,7 +96,3 @@ bool isActionAllowed(const Action *action, std::vector<Event> *relevantEvents) {
|
|||||||
}
|
}
|
||||||
return allowed;
|
return allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
int functionToTest(int a) {
|
|
||||||
return a * 2;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -6,4 +6,3 @@ bool playerBelongsToRoom(Player *player, Room *room);
|
|||||||
bool actionBelongsToRole(Role *role, const Action *action);
|
bool actionBelongsToRole(Role *role, const Action *action);
|
||||||
bool isActionAllowed(const Action *action, std::vector<Event> *relevantEvents);
|
bool isActionAllowed(const Action *action, std::vector<Event> *relevantEvents);
|
||||||
int validateAction(Player *actor, const Action *action, Room *room, std::vector<Event> *relatedEvents, Player *target);
|
int validateAction(Player *actor, const Action *action, Room *room, std::vector<Event> *relatedEvents, Player *target);
|
||||||
int functionToTest(int);
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user