!1 Using !-ColumnFixtures-! This table style is probably the most generally useful in FitNesse. Many kinds of software features can be tested with ColumnFixture: any feature that can be expressed as rows of inputs and outputs. ColumnFixture has the advantages of being easy to design and easy to understand. Below, we show a few more examples of uses for ColumnFixture. For starters, let's look at our test table for testing the division function of a calculator application: !| eg.Division | | numerator | denominator | quotient? | | 10 | 2 | 5 | | 12.6 | 3 | 4.2 | | 100 | 4 | 33 | The top row of the table provides the name of the ColumnFixtureCode that Fit will use to process the table. The second row specifies the inputs and outputs of the fixture; the column headings ''numerator'' and ''denominator'' specify columns of input values, and the ''quotient?'' heading specifies a column of expected return values. So if we divide 10 by 2, we expect to get back 5. For a description of the fixture code for the Division example, see ColumnFixtureCode. !2 A Slightly More Complex Example: A Trivia Game Let's imagine that we are building a trivia game. The overall design of our trivia game is straightforward: players take turns rolling a single die, and move around a circular board. When they land on a square, they are asked a trivia question of some category. There are requirements for answering questions incorrectly, for winning, and so on. For now let's imagine that we are addressing a specific first requirement or user story (call it what you like): !3 "You can add players to the game, and you can ask the game how many players are playing." Sounds pretty straightforward. Let's first set up a [[!-ClassPath-!][