Module talk:Example/testcases
Appearance
All 10 tests passed.
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:Example|Name2}} | Lonely | Lonely | |
{{#invoke:Example|Name2|1}} | Lonely | Lonely | |
{{#invoke:Example|Name2|1|2}} | Be positive! | Be positive! | |
{{#invoke:Example|Name2|2|1}} | 1 | 1 |
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:Example|count_fruit|bananas=5|apples=3}} | I have 5 bananas and 3 apples | I have 5 bananas and 3 apples | |
{{#invoke:Example|count_fruit|bananas=1|apples=1}} | I have 1 banana and 1 apple | I have 1 banana and 1 apple | |
{{#invoke:Example|count_fruit|bananas=Not a number|apples=Not a number}} | I have 0 bananas and 0 apples | I have 0 bananas and 0 apples | |
{{#invoke:Example|count_fruit}} | I have 0 bananas and 0 apples | I have 0 bananas and 0 apples |
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:Example | hello}} | Hello World! | Hello World! |
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:Example|hello_to|Fred}} | Hello, Fred! | Hello, Fred! |
Start a discussion about Module:Example/testcases
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve Module:Example/testcases.