text: import { test, assert } from 'naive-tests';
  import { hex2bin } from '../../../../../../../src/core/images/formats/bmp/utils/bytes-utils.js';
  import { parseBmpHeader } from '../../../../../../../src/core/images/formats/bmp/headers/bmp-header/bmp-header-parser.js';
  
  test('bmp header parse', () => {
      const imageHex = '424D460000000000000036000000280000000200000002000000010018000000000010000000130B0000130B000000000000000000000000FFFFFFFF0000FF000000FF000000';
      const bmpHeader = hex2bin(imageHex);
      const parsedHeader = parseBmpHeader(bmpHeader);
      assert.equals('BM', parsedHeader.id);
      assert.equals(70, parsedHeader.fileSize);
      assert.equals(0, parsedHeader.unused0);
      assert.equals(0, parsedHeader.unused1);
      assert.equals(54, parsedHeader.pixelsDataOffset);
  });