![JAR search and dependency download from the Maven repository](/logo.png)
fitbook.BuyActionsWithColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitlibrary Show documentation
Show all versions of fitlibrary Show documentation
FitLibrary provides general-purpose fixtures (and runners) for storytests with Fit and FitNesse.
The newest version!
package fitbook;
import fitbook.items.LineItems;
/*
* @author Rick Mugridge 24/12/2003
*
* Copyright (c) 2003 Rick Mugridge, University of Auckland, NZ
* Released under the terms of the GNU General Public License version 2 or later.
*
*/
public class BuyActionsWithColumn extends fit.ColumnFixture { //COPY:ALL
private LineItems lineItems = new LineItems(); //COPY:ALL
public double price = 0.0; //COPY:ALL
//COPY:ALL
public double total() { //COPY:ALL
lineItems.buyFor(price); //COPY:ALL
return lineItems.totalIs(); //COPY:ALL
} //COPY:ALL
} //COPY:ALL
© 2015 - 2025 Weber Informatics LLC | Privacy Policy