mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 04:35:28 +01:00
Extend minetest.is_yes()
This commit is contained in:
@@ -147,6 +147,8 @@ void TestUtilities::testIsYes()
|
||||
UASSERT(is_yes("0") == false);
|
||||
UASSERT(is_yes("1") == true);
|
||||
UASSERT(is_yes("2") == true);
|
||||
UASSERT(is_yes("on") == true);
|
||||
UASSERT(is_yes("off") == false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user