MCPcopy Create free account
hub / github.com/EasyRPG/Player / make

Function make

tests/variables.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8constexpr int maxval = Game_Variables::max_2k3;
9
10static Game_Variables make() {
11 lcf::Data::variables.resize(max_vars);
12 Game_Variables v(minval, maxval);
13 v.SetLowerLimit(max_vars);
14 v.SetWarning(0);
15 return v;
16}
17
18TEST_CASE("GetSize") {
19 auto v = make();

Callers 1

variables.cppFile · 0.70

Calls 2

SetLowerLimitMethod · 0.45
SetWarningMethod · 0.45

Tested by

no test coverage detected