mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import { assertEquals } from "@std/assert";
|
|
import { decodeCborSequence } from "./decode_cbor_sequence.ts";
|
|
|
|
Deno.test("decodeCborSequence() correctly decoding", () => {
|
|
assertEquals(
|
|
decodeCborSequence(Uint8Array.from([0b000_00000, 0b000_00000])),
|
|
[0, 0],
|
|
);
|
|
});
|