projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgraded drupal core with security updates
[yaffs-website]
/
vendor
/
phpunit
/
phpunit
/
tests
/
_files
/
TestWithTest.php
1
<?php
2
class TestWithTest extends PHPUnit_Framework_TestCase
3
{
4
/**
5
* @testWith [0, 0, 0]
6
* [0, 1, 1]
7
* [1, 2, 3]
8
* [20, 22, 42]
9
*/
10
public function testAdd($a, $b, $c)
11
{
12
$this->assertEquals($c, $a + $b);
13
}
14
15
public static function providerMethod()
16
{
17
return array(
18
array(0, 0, 0),
19
array(0, 1, 1),
20
array(1, 1, 3),
21
array(1, 0, 1)
22
);
23
}
24
}