🔥 v6.0 third pass: test clean-up (again)

This commit is contained in:
smiley
2023-11-26 18:42:45 +01:00
parent 2478f75324
commit 2d2a00fabb
37 changed files with 398 additions and 249 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)