public function testLocaleCompare() { $this->eq(s::localeCompare('', ''), 0); $this->eq(s::localeCompare('a', 'a'), 0); $this->lt(s::localeCompare('a', 'b'), 0); }
public function localeCompare($that) { return s::localeCompare($this->value, self::unwrap($that)); }