markTestSkipped( 'The GD extension is not available.' ); } } public function testImage() { $path = __DIR__ . '/c128b.png'; if (\file_exists($path)) { \unlink($path); } $img = new C128b('ABcdeFG0123+-!@?', 200, 50); $img->saveToPngFile($path); self::assertTrue(\file_exists($path)); } public function testValidString() { self::assertTrue(C128b::isValidString('ABCDE~FG0123+-')); } }