public function testComparisonBinaryOperations()
{
$this->assertBinaryOperation(function () {
1 === 1;
}, 1, O\Operators\Binary::IDENTITY, 1);
$this->assertBinaryOperation(function () {
1 !== 1;
}, 1, O\Operators\Binary::NOT_IDENTICAL, 1);
$this->assertBinaryOperation(function () {
1 == 1;
}, 1, O\Operators\Binary::EQUALITY, 1);
$this->assertBinaryOperation(function () {
1 != 1;
}, 1, O\Operators\Binary::INEQUALITY, 1);
$this->assertBinaryOperation(function () {
1 > 1;
}, 1, O\Operators\Binary::GREATER_THAN, 1);
$this->assertBinaryOperation(function () {
1 >= 1;
}, 1, O\Operators\Binary::GREATER_THAN_OR_EQUAL_TO, 1);
$this->assertBinaryOperation(function () {
1 < 1;
}, 1, O\Operators\Binary::LESS_THAN, 1);
$this->assertBinaryOperation(function () {
1 <= 1;
}, 1, O\Operators\Binary::LESS_THAN_OR_EQUAL_TO, 1);
}