Skip to content

Commit a5b0584

Browse files
committed
测试
1 parent ff7aedb commit a5b0584

File tree

241 files changed

+463
-408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+463
-408
lines changed

4ueAj6/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22

33
import { ListNode as Node } from "../reverse-linked-list/ListNode.ts";
44
import { ArrayToCircularLinkedList } from "./ArrayToCircularLinkedList.ts";

QO5KpG/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22
import getNumber from "./index.ts";
33
import { TreeNodeLeetCodeFromJSON } from "../utils/TreeNodeLeetCodeParse.ts";
44
Deno.test("QO5KpG", () => {

abbreviating-the-product-of-a-range/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22

33
import abbreviateProduct from "./index.ts";
44

add-strings/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22

33
import addStrings from "./index.ts";
44

add-to-array-form-of-integer/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22

33
import addToArrayForm from "./index.ts";
44

add-two-polynomials-represented-as-linked-lists/ArrayToPolyNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PolyNode } from "./PolyNode.ts";
2+
23
export function ArrayToPolyNode(
34
array: Array<[number, number]>,
45
): PolyNode | null {

add-two-polynomials-represented-as-linked-lists/PolyNodeToArray.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PolyNode } from "./PolyNode.ts";
1+
import { PolyNode } from './PolyNode.ts';
22

33
export function PolyNodeToArray(
44
list: PolyNode | null,

add-two-polynomials-represented-as-linked-lists/test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
2-
import addPoly from "./index.ts";
3-
import { ArrayToPolyNode } from "./ArrayToPolyNode.ts";
4-
import { PolyNodeToArray } from "./PolyNodeToArray.ts";
1+
import { assertEquals } from 'https://deno.land/[email protected]/testing/asserts.ts';
2+
3+
import { ArrayToPolyNode } from './ArrayToPolyNode.ts';
4+
import addPoly from './index.ts';
5+
import { PolyNodeToArray } from './PolyNodeToArray.ts';
6+
57
Deno.test("add-two-polynomials-represented-as-linked-lists", () => {
68
const cases = [
79
[[[1, 2]], [[-1, 2]], []],

all-ancestors-of-a-node-in-a-directed-acyclic-graph/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
1+
import { assertEquals } from "asserts";
22

33
import getAncestors from "./index.ts";
44

all-elements-in-two-binary-search-trees/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { TreeNode } from "../binary-tree-inorder-traversal/TreeNode.ts";
2-
import { inorder } from "./inorder.ts";
3-
import { merge_sort } from "./merge_sort.ts";
1+
import { TreeNode } from '../binary-tree-inorder-traversal/TreeNode.ts';
2+
import { inorder } from './inorder.ts';
3+
import { merge_sort } from './merge_sort.ts';
44

55
export default function getAllElements(
66
root1: TreeNode | null,

0 commit comments

Comments
 (0)