System Test and System Test Automation
Guest Lecture at University of Zuricht, Departments of Informatics, Software Evolution and Architecture Lab
System Test Automation Theory, Best Practices using Fitnesse and a Case Study
34. ๏๏ ๏๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏พ๏ด๏ซ๏ ๏ฟ๏
/*
* @author Rick Mugridge 6/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 CalculateDiscount
extends fit.ColumnFixture {
public double amount;
๏๏๏๏
๏๏๏๏๏๏๏
๏๏๏๏๏ ๏๏๏๏๏๏๏๏๏๏๏๏๏๏ ๏๏ ๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏ ๏๏๏๏๏ ๏๏๏๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏๏๏๏๏๏๏๏๏๏๏๏๏ ๏๏๏๏๏๏ ๏๏๏๏ก๏๏๏ถ๏น
public double amount;
private Discount application = new Discount();
public double discount() {
return application.getDiscount(amount);
}
}