public function Calculator::add in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/_files/Calculator.php \Calculator::add()
@assert (0, 0) == 0 @assert (0, 1) == 1 @assert (1, 0) == 1 @assert (1, 1) == 2
File
- vendor/
phpunit/ phpunit/ tests/ _files/ Calculator.php, line 10
Class
Code
public function add($a, $b) {
return $a + $b;
}