deno.land / x / masx200_leetcode_test@10.6.5 / deep-dark-fraction / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { assertEquals } from "asserts";import fraction from "./index.ts";Deno.test("deep-dark-fraction", () => { assertEquals( [[3, 2, 0, 2], [0, 0, 3], [3, 3], [7, 7], [0, 0, 7], [ 2, 7, 8, 4, 2, 1, 5, 8, 4, 9, ]].map(fraction), [[13, 4], [3, 1], [10, 3], [50, 7], [7, 1], [2891662, 1350979]], );});
masx200_leetcode_test

Version Info

Tagged at
a year ago