🛀 test cleanup

This commit is contained in:
smiley
2024-01-07 01:21:16 +01:00
parent c27973ace0
commit 6239074411
30 changed files with 369 additions and 259 deletions
+6 -2
View File
@@ -11,14 +11,18 @@
namespace chillerlan\QRCodeTest\Data;
use chillerlan\QRCode\Data\AlphaNum;
use chillerlan\QRCode\Data\QRDataModeInterface;
/**
* Tests the AlphaNum class
*/
final class AlphaNumTest extends DataInterfaceTestAbstract{
protected static string $FQN = AlphaNum::class;
protected static string $testdata = '0 $%*+-./:';
protected const testData = '0 $%*+-./:';
protected static function getDataModeInterface(string $data):QRDataModeInterface{
return new AlphaNum($data);
}
/**
* isAlphaNum() should pass on the 45 defined characters and fail on anything else (e.g. lowercase)