public function testCreateEmpty() { $range = NumericRange::createEmpty(); $this->assertInstanceOf('\\sad_spirit\\pg_wrapper\\types\\NumericRange', $range); $this->assertTrue($range->empty); }
protected function valuesBoth() { return array(array('empty', NumericRange::createEmpty()), array('[,)', new NumericRange()), array('("1",]', new NumericRange(1, null, false, true)), array('(,"2")', new NumericRange(null, 2, false, false))); }