nur-sery/nur_tests/passwd/PasswordGeneratorTest.php

13 lines
306 B
PHP
Raw Normal View History

2024-04-04 16:47:29 +04:00
<?php
namespace nur\passwd;
use nur\t\TestCase;
class PasswordGeneratorTest extends TestCase {
function testGenerate(): void {
$pg = new PasswordGenerator();
self::assertSame("gurazefecivuvali@", $pg->generate(null, null, 0));
self::assertSame("gurazefe", $pg->generate(2, null, 0));
}
}