deno.land / x / masx200_leetcode_test@10.6.5 / my-calendar-i / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { assertEquals } from "../deps.ts";import MyCalendarThree from "./index.ts";
Deno.test("my-calendar-i", () => { const temp = new MyCalendarThree(); const args = [ [10, 20, true], [15, 25, false], [20, 30, true], [5, 15, false], [5, 10, true], [25, 55, false], ] as const; args.forEach(([start, end, result]) => { assertEquals(result, temp.book(start, end)); });});
masx200_leetcode_test

Version Info

Tagged at
a year ago