Example #1
0
 public function testProduct()
 {
     $data = [1, 2, 3, 4, 5];
     $node = MathNode::product();
     $this->assertEquals(120, $node($data));
 }