Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
feat: fromTraversable tests complete
Browse files Browse the repository at this point in the history
  • Loading branch information
baetheus committed Apr 13, 2021
1 parent e28d65b commit 2ec763f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions testing/optics/from_traversable.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";

import * as F from "../../optics/from_traversable.ts";
import * as O from "../../option.ts";

Deno.test("FromTraversable fromTraversable", () => {
const createTraversal = F.fromTraversable(O.Traversable);
const traversal = createTraversal<number>();

assertEquals(O.Traversable, traversal);
});

0 comments on commit 2ec763f

Please sign in to comment.