Skip to content

Commit

Permalink
Test boxed tuples deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
bartblast committed Oct 24, 2024
1 parent 56d5148 commit 0fd07ce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/javascript/deserializer_test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,22 @@ describe("Deserializer", () => {
testNotVersionedDeserialization(term);
});
});

describe("tuple", () => {
const term = Type.tuple([Type.integer(1), Type.float(1.23)]);

it("top-level", () => {
testTopLevelDeserialization(term);
});

it("nested", () => {
testNestedDeserialization(term);
});

it("not versioned", () => {
testNotVersionedDeserialization(term);
});
});
});

describe("JS terms", () => {
Expand Down

0 comments on commit 0fd07ce

Please sign in to comment.