Composite value function test
@@ -355,6 +355,9 @@ public class EvaluationTestCase {
tester.assertEvaluates("0",
"reduce(join(tensor0, tensor1, f(x,y) (if(x > y, 1.0, 0.0))), sum, tag) == reduce(tensor0, count, tag)",
"tensor(tag{}):{{tag:tag1}:10, {tag:tag2}:20}", "{25}");
+ tester.assertEvaluates("500",
+ "join(tensor0, tensor1, f(x,y) (x*y)){tag2}",
+ "tensor(tag{}):{{tag:tag1}:10, {tag:tag2}:20}", "{25}");
// tensor result dimensions are given from argument dimensions, not the resulting values
tester.assertEvaluates("tensor(x{}):{}", "tensor0 * tensor1", "{ {x:0}:1 }", "tensor(x{}):{ {x:1}:1 }");
