deno.land / x / masx200_leetcode_test@10.6.5 / shan-chu-lian-biao-de-jie-dian-lcof / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import { ArrayToListNode } from "../reverse-linked-list/ArrayToListNode.ts";import deleteNode from "./index.ts";
Deno.test("shan-chu-lian-biao-de-jie-dian-lcof", () => { assertEquals( ArrayToListNode([4, 1, 9, 5, 5, 5, 10]), deleteNode(ArrayToListNode([4, 5, 1, 9, 5, 5, 5, 10]), 5), );});Deno.test("shan-chu-lian-biao-de-jie-dian-lcof", () => { assertEquals( ArrayToListNode([4, 1, 9]), deleteNode(ArrayToListNode([4, 5, 1, 9]), 5), );});Deno.test("shan-chu-lian-biao-de-jie-dian-lcof", () => { assertEquals( ArrayToListNode([4, 5, 9]), deleteNode(ArrayToListNode([4, 5, 1, 9]), 1), );});
masx200_leetcode_test

Version Info

Tagged at
a year ago