| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class generatorTest extends TestCase |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Construct object with argument and verify that the object has the expected properties. |
||
| 22 | */ |
||
| 23 | public function testCreateObject(): void |
||
| 24 | { |
||
| 25 | new Preludium(); |
||
| 26 | $rymd = [TECKENRYMD, TECKENRYMD, TECKENRYMD]; |
||
| 27 | $tipstecken = ''; |
||
| 28 | foreach (generera($rymd, 3) as $tecken) { |
||
| 29 | $tipstecken .= $tecken; |
||
| 30 | } |
||
| 31 | |||
| 32 | $this->assertSame($tipstecken, '000001002010011012020021022100101102110111112120121122200201202210211212220221222'); |
||
| 33 | /** |
||
| 65 |