import { assertEquals } from "assert"; import { parseLogicalScreenDescriptorPackedField } from "../../public/gif/parseGif.js"; Deno.test("parsing logical screen descriptor packed field", () => { const byte = 0b10110011; const result = parseLogicalScreenDescriptorPackedField(byte); assertEquals(result, { globalColorTableFlag: true, colorResolution: 4, sortFlag: false, sizeOfGlobalColorTable: 16, }); });