public function testMinMax() { $min; $max; CMathi::minMax(1234, 5678, $min, $max); $this->assertTrue($min === 1234 && $max === 5678); $min; $max; CMathi::minMax(-1234, -5678, $min, $max); $this->assertTrue($min === -5678 && $max === -1234); $min; $max; CMathi::minMax(1234.01, 5678.01, $min, $max); $this->assertTrue($min === 1234 && $max === 5678); $min; $max; CMathi::minMax(-1234.01, -5678.01, $min, $max); $this->assertTrue($min === -5678 && $max === -1234); }