deno.land / x / masx200_leetcode_test@10.6.5 / max-chunks-to-make-sorted-ii / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import maxChunksToSorted from "./index.ts";
Deno.test("max-chunks-to-make-sorted-ii", () => { assertEquals(maxChunksToSorted([5, 4, 3, 2, 1]), 1); assertEquals(maxChunksToSorted([2, 1, 3, 4, 4]), 4);});
masx200_leetcode_test

Version Info

Tagged at
a year ago