GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Module talk:Example/testcases - Wikipedia

< Module talk:Example

All 10 tests passed.

test_hello

test_hello
TestExpectedActual
checkY {{#invoke:Example | hello}} Hello World! Hello World!

test_hello_to

test_hello_to
TestExpectedActual
checkY {{#invoke:Example|hello_to|Fred}} Hello, Fred! Hello, Fred!

test_count_fruit

test_count_fruit
TestExpectedActual
checkY {{#invoke:Example|count_fruit|bananas=5|apples=3}} I have 5 bananas and 3 apples I have 5 bananas and 3 apples
checkY {{#invoke:Example|count_fruit|bananas=1|apples=1}} I have 1 banana and 1 apple I have 1 banana and 1 apple
checkY {{#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
checkY {{#invoke:Example|count_fruit}} I have 0 bananas and 0 apples I have 0 bananas and 0 apples

test_Name2

test_Name2
TestExpectedActual
checkY {{#invoke:Example|Name2}} Lonely Lonely
checkY {{#invoke:Example|Name2|1}} Lonely Lonely
checkY {{#invoke:Example|Name2|1|2}} Be positive! Be positive!
checkY {{#invoke:Example|Name2|2|1}} 1 1
Retrieved from "https://en.wikipedia.org/w/index.php?title=Module_talk:Example/testcases&oldid=1154904148"
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.