Calculator.php in Zircon Profile 8
Same filename and directory in other branches
File
vendor/phpunit/phpunit/tests/_files/Calculator.phpView source
<?php
class Calculator {
/**
* @assert (0, 0) == 0
* @assert (0, 1) == 1
* @assert (1, 0) == 1
* @assert (1, 1) == 2
*/
public function add($a, $b) {
return $a + $b;
}
}
Classes
Name | Description |
---|---|
Calculator |