You are here

private property DecoderTest::$arrays in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/Reader/DecoderTest.php \MaxMind\Db\Test\Reader\DecoderTest::arrays

File

includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/Reader/DecoderTest.php, line 9

Class

DecoderTest

Namespace

MaxMind\Db\Test\Reader

Code

private $arrays = array(
  array(
    'expected' => array(),
    'input' => array(
      0x0,
      0x4,
    ),
    'name' => 'empty',
  ),
  array(
    'expected' => array(
      'Foo',
    ),
    'input' => array(
      0x1,
      0x4,
      /* Foo */
      0x43,
      0x46,
      0x6f,
      0x6f,
    ),
    'name' => 'one element',
  ),
  array(
    'expected' => array(
      'Foo',
      '人',
    ),
    'input' => array(
      0x2,
      0x4,
      /* Foo */
      0x43,
      0x46,
      0x6f,
      0x6f,
      /* 人 */
      0x43,
      0xe4,
      0xba,
      0xba,
    ),
    'name' => 'two elements',
  ),
);