mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2026-03-22 00:26:22 +00:00
feat: remove functionToTest
This commit is contained in:
@@ -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);
|
|
||||||
|
|||||||
Reference in New Issue
Block a user