projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
phpunit
/
phpunit
/
tests
/
_files
/
Calculator.php
diff --git a/vendor/phpunit/phpunit/tests/_files/Calculator.php
b/vendor/phpunit/phpunit/tests/_files/Calculator.php
new file mode 100644
(file)
index 0000000..
e269bd6
--- /dev/null
+++ b/
vendor/phpunit/phpunit/tests/_files/Calculator.php
@@ -0,0
+1,14
@@
+<?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;
+ }
+}