ByteTest.php 938 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Class ByteTest
  4. *
  5. * @created 24.11.2017
  6. * @author Smiley <smiley@chillerlan.net>
  7. * @copyright 2017 Smiley
  8. * @license MIT
  9. */
  10. namespace chillerlan\QRCodeTest\Data;
  11. use chillerlan\QRCode\Data\Byte;
  12. /**
  13. * Tests the Byte class
  14. */
  15. final class ByteTest extends DatainterfaceTestAbstract{
  16. /** @internal */
  17. protected array $testdata = [Byte::class, '[¯\_(ツ)_/¯]'];
  18. /** @internal */
  19. protected array $expected = [
  20. 64, 245, 188, 42, 245, 197, 242, 142,
  21. 56, 56, 66, 149, 242, 252, 42, 245,
  22. 208, 236, 17, 236, 17, 236, 17, 236,
  23. 17, 236, 17, 236, 17, 236, 17, 236,
  24. 17, 236, 17, 236, 17, 236, 17, 236,
  25. 17, 236, 17, 236, 17, 236, 17, 236,
  26. 17, 236, 17, 236, 17, 236, 17, 236,
  27. 17, 236, 17, 236, 17, 236, 17, 236,
  28. 17, 236, 17, 236, 17, 236, 17, 236,
  29. 17, 236, 17, 236, 17, 236, 17, 236,
  30. 79, 89, 226, 48, 209, 89, 151, 1,
  31. 12, 73, 42, 163, 11, 34, 255, 205,
  32. 21, 47, 250, 101
  33. ];
  34. }