deno.land / x / masx200_leetcode_test@10.6.5 / ternary-expression-parser / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
import { assertEquals } from "asserts";
import parseTernary from "./index.ts";
Deno.test("ternary-expression-parser", () => { assertEquals(["T?2:3", "F?1:T?4:5", "T?T?F:5:3", "8"].map(parseTernary), [ "2", "4", "F", "8", ]);});
masx200_leetcode_test

Version Info

Tagged at
a year ago