ACE3/addons/rearm/dev/test_debugConfigs.sqf
PabstMirror 52915e1104 Common func to run config tests (#5170)
* Common func to run config tests

* Add map config testing, malden data and reverse map config's latitude

* Headers

* Simplify config levels

* Header

* fix example
2017-08-22 16:21:41 -05:00

15 lines
527 B
Plaintext

// ["vehicleTransportAmmo"] call ace_common_fnc_runTests;
// execVM "z\ace\addons\rearm\dev\test_debugConfigs.sqf";
#include "\z\ace\addons\rearm\script_component.hpp"
private _testPass = true;
INFO("Showing CfgVehicles with vanilla transportAmmo");
{
WARNING_2("Type [%1] needs config [transportAmmo: %2]", configName _x, getNumber (_x >> 'transportAmmo'));
_testPass = false;
} forEach (configProperties [configFile >> "CfgVehicles", "(isClass _x) && {(getNumber (_x >> 'transportAmmo')) > 0}", true]);
_testPass