assertEquals($expected, $binaryStep->compute($value)); } /** * @return array */ public function binaryStepProvider() { return [ [1, 1], [1, 0], [0, -0.1], ]; } }