Multiply modules with one source (or even zero sources) work, but aren't particularly useful.
If you are using the included XML noise configuration system, Multiply modules can be declared as
<multiply> ...source modules... </multpliy>
979899100101102103104105106
} public void testMulParse() throws Exception { FilterMockData.mul(document, document); Multiply mul = (Multiply) parse(); assertNotNull(mul.getExpression1()); assertNotNull(mul.getExpression2()); }
320321322323324325
// Binary Op @Test public void testAdd() {this.runTest("3200", new Add(XCoord(), YCoord()));} @Test public void testDiv() {this.runTest("3300", new Divide(XCoord(), YCoord()));} @Test public void testExp() {this.runTest("3400", new Exponentiate(XCoord(), YCoord()));} @Test public void testMod() {this.runTest("3500", new Modulus(XCoord(), YCoord()));} @Test public void testMul() {this.runTest("3600", new Multiply(XCoord(), YCoord()));}