/** * This method tests the "ne" method. */ public function test_ne() { $x = IBool\Type::true(); $y = IBool\Type::false(); $z = IBool\Module::ne($x, $x); $this->assertInstanceOf('\\Saber\\Data\\IBool\\Type', $z); $this->assertSame(false, $z->unbox()); $z = IBool\Module::ne($x, $y); $this->assertInstanceOf('\\Saber\\Data\\IBool\\Type', $z); $this->assertSame(true, $z->unbox()); }