mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Settings: everything != 0 equals true; remove .asm shaders
This commit is contained in:
@@ -164,6 +164,10 @@ struct TestUtilities: public TestBase
|
||||
UASSERT(is_yes("YeS") == true);
|
||||
UASSERT(is_yes("") == false);
|
||||
UASSERT(is_yes("FAlse") == false);
|
||||
UASSERT(is_yes("-1") == true);
|
||||
UASSERT(is_yes("0") == false);
|
||||
UASSERT(is_yes("1") == true);
|
||||
UASSERT(is_yes("2") == true);
|
||||
const char *ends[] = {"abc", "c", "bc", NULL};
|
||||
UASSERT(removeStringEnd("abc", ends) == "");
|
||||
UASSERT(removeStringEnd("bc", ends) == "b");
|
||||
|
Reference in New Issue
Block a user