deno.land / x / masx200_leetcode_test@10.6.5 / detonate-the-maximum-bombs / test.ts
123456789101112131415161718192021222324252627import { assertEquals } from "asserts";
import maximumDetonation from "./index.ts";
Deno.test("detonate-the-maximum-bombs", () => { assertEquals( [2, 1, 5], [ [ [2, 1, 3], [6, 1, 4], ], [ [1, 1, 5], [10, 10, 5], ], [ [1, 2, 3], [2, 3, 1], [3, 4, 2], [4, 5, 3], [5, 6, 4], ], ].map(maximumDetonation), );});
Version Info