| java.lang.Object org.hanseltest.CoverFor
CoverFor | public class CoverFor (Code) | | Class containing all kinds of different uses of for-statements.
author: Niklas Mehner |
Method Summary | |
public int | expressionFor(int n, int m) Contains a loop with a little more complicated expression.
Parameters: n - Possible number of times the loop is run. Parameters: m - Possible number of times the loop is run. | public int | simpleFor(int n) Contains a simple for-loop.
Parameters: n - number of times the loop is executed. |
expressionFor | public int expressionFor(int n, int m)(Code) | | Contains a loop with a little more complicated expression.
Parameters: n - Possible number of times the loop is run. Parameters: m - Possible number of times the loop is run. 5 + min(n, m) |
simpleFor | public int simpleFor(int n)(Code) | | Contains a simple for-loop.
Parameters: n - number of times the loop is executed. 5 + n |
|
|