
nz.ac.waikato.modeljunit.storytest.parse.GreaterThanEquals Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paramedit Show documentation
Show all versions of paramedit Show documentation
A tool for editing test parameters and suggesting additional parameter values.
It provides several heuristics (including PairWise and MC/DC) for analyzing
a set of input tuples and suggesting missing/extra values.
The newest version!
/**
*
*/
package nz.ac.waikato.modeljunit.storytest.parse;
/**
* @author root
*
*/
public class GreaterThanEquals
extends Arithmetic
{
GreaterThanEquals(Function f, Function s)
{
super(f, s);
}
public double calculate(int row)
{
return mFirst.calculate(row) >= mSecond.calculate(row) ? 1 : 0;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy