Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function testGeneration(): void |
||
32 | { |
||
33 | $k1 = SymmetricKey::generate(24, true); |
||
34 | $k2 = SymmetricKey::generate(24, true); |
||
35 | $this->assertEquals(24, $k1->getLength()); |
||
36 | $this->assertEquals(24, $k2->getLength()); |
||
37 | $this->assertNotEquals($k1->getMaterial(), $k2->getMaterial()); |
||
38 | } |
||
40 |