FitNesse. UserGuide. FitLibraryUserGuide. CalculateFixture.
WritingFixtures [add child]
Let's start by looking at the fixture code for the previous example, shown in part again:

CalculatedDiscount
$   discount
2000.00   100.00

The fixture code is as follows:

public class CalculatedDiscount extends fitlibrary.CalculateFixture{
private Discount application = new Discount();

public double discountDollar(double amount) {
return application.getDiscount(amount);
}
}

The method discountDollar() is called for each of the rows. The given value is supplied as an argument to the method and the result is compared to the expected value.

The header labels are used to determine the method name, being the expected column label followed by each of the given column labels ("discount" + "$"). This name is converted into a valid Java method name based on extended camel[?]. While this can result in some weird method names, it does given the Fit test writer considerable freedom of expression.

In General

In ColumnFixture, " " as an expected value means that the actual value is displayed in the report. There is currently nothing directly equivalent to this in CalculateFixture. The closest is a show special action in DoFixture[?]