Module talk:Includes/testcases
Appearance
All 17 tests passed.
test_hello
Text | Expected | Actual | |
---|---|---|---|
![]() |
includes({"a", "b", "c", "d"}, "b") | true | true |
![]() |
includes({"a", "b", "c", "d"}, "b", 0) | true | true |
![]() |
includes({"a", "b", "c", "d"}, "b", 1) | true | true |
![]() |
includes({"a", "b", "c", "d"}, "b", 2) | true | true |
![]() |
includes({"a", "b", "c", "d"}, "b", -3) | true | true |
![]() |
includes({"a", "b", "c", "d"}, "b", -5) | true | true |
![]() |
includes({[1] = "a",[100] = "b",[101] = "c"}, "b") | true | true |
![]() |
includes({[1] = "a",[2] = "b",[3] = "c"}, "b", 0) | true | true |
![]() |
includes({first = "a", second = "b", third = "c"}, "b") | true | true |
![]() |
includes("b","b") | false | false |
![]() |
includes({"a", "b", "c", "d"}) | false | false |
![]() |
includes({"a", "b", "c", "d"}, "e") | false | false |
![]() |
includes({"a", "b", "c", "d"}, "b", 3) | false | false |
![]() |
includes({"a", "b", "c", "d"}, "b", 5) | false | false |
![]() |
includes({"a", "b", "c", "d"}, "b", -2) | false | false |
![]() |
includes({[1] = "a", [100] = "b", [101] = "c"}, "b", 0) | false | false |
![]() |
includes({first = "a", second = "b", third = "c"}, "b", 0) | false | false |