View Single Post
Old 02-23-2011, 05:48 AM   #8

Activity Longevity
0/20 15/20
Today Posts
0/11 sssssss30
Location: Evanston, IL

Could just be my inexperience here, but I usually think of "test case" as actual test case code. The companies that I've worked for (outside of gaming) have all referred to "writing test cases" as writing unit tests that test various scenarios. Going with the 100 coins example, you would set up the game with you having 99 coins, 1 life, and a coin above you, hard-code a "jump" action to get the 100th coin, then write a System.Assert that you have 0 coins, 2 lives, and no coins displaying on the map.

"Submitting" the test case would then be submitting commented code that creates that example.
MAEnthoven is offline