Skip to content

Instantly share code, notes, and snippets.

@davegardnerisme
Created July 3, 2012 10:30
Show Gist options
  • Select an option

  • Save davegardnerisme/3038945 to your computer and use it in GitHub Desktop.

Select an option

Save davegardnerisme/3038945 to your computer and use it in GitHub Desktop.
Testing equality
<?php
class PhpUnitTest extends \PHPUnit_Framework_TestCase
{
public function testNotEquals()
{
$this->assertNotEquals('9223372036854771713', '9223372036854771712');
}
public function testPhpNotEqualsEquals()
{
$this->assertTrue('9223372036854771713' !== '9223372036854771712');
}
public function testPhpNotEquals()
{
$this->assertTrue('9223372036854771713' != '9223372036854771712');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment