mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Settings: everything != 0 equals true; remove .asm shaders
This commit is contained in:
parent
88d43af276
commit
6bc3a43d52
3 changed files with 5 additions and 22 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue