|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ExpressionTest
This is a driver program to test the ArithmeticEquation
class.
Field Summary | |
protected static ArithmeticEquation |
e
|
Constructor Summary | |
ExpressionTest()
|
Method Summary | |
static void |
groupingSymbolOne()
|
static void |
groupingSymbolTwo()
|
static void |
main(java.lang.String[] agrs)
|
static void |
multipleDigitTest()
Checks to see if an arithmetic equation can be created with multiple numeric digits. |
static void |
operatorComboFour()
Tests multiples of different operators where the correct solution is only found by using the order of operations |
static void |
operatorComboOne()
Tests the combination of multiples of the same operator |
static void |
operatorComboThree()
Tests multiples of different operators where the correct solution is found by simply solving left to right |
static void |
operatorComboTwo()
Tests multiples of operators with the same precedence |
static void |
simpleAdditionTest()
Does a simple addition |
static void |
simpleDivisionTest()
Does a simple division |
static void |
simpleMultiplicationTest()
Does a simple multiplication |
static void |
simpleNegationTest()
Does a simple negation |
static void |
simpleSubtractionTest()
Does a simple subtraction |
static void |
singleDigitTest()
Checks to see if an arithmetic equation can be created with a single numeric digit. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static ArithmeticEquation e
Constructor Detail |
public ExpressionTest()
Method Detail |
public static void main(java.lang.String[] agrs)
public static void singleDigitTest()
public static void multipleDigitTest()
public static void simpleAdditionTest()
public static void simpleSubtractionTest()
public static void simpleMultiplicationTest()
public static void simpleDivisionTest()
public static void simpleNegationTest()
public static void operatorComboOne()
public static void operatorComboTwo()
public static void operatorComboThree()
public static void operatorComboFour()
public static void groupingSymbolOne()
public static void groupingSymbolTwo()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |