mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
14 lines
357 B
C++
14 lines
357 B
C++
|
|
#include "storm/Command.hpp"
|
||
|
|
#include "test/Test.hpp"
|
||
|
|
|
||
|
|
TEST_CASE("SCmdRegisterArgList", "[command]") {
|
||
|
|
SECTION("register an argument list normally") {
|
||
|
|
ARGLIST argList[] = {
|
||
|
|
{ 0x0, 1, "one", nullptr },
|
||
|
|
{ 0x0, 2, "two", nullptr }
|
||
|
|
};
|
||
|
|
|
||
|
|
SCmdRegisterArgList(argList, sizeof(argList) / sizeof(ARGLIST));
|
||
|
|
}
|
||
|
|
}
|