Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9a0e604

Browse files
committed
fmt(algorithms):remove uncomplted
1 parent eec0aea commit 9a0e604

File tree

14 files changed

+15
-25
lines changed

14 files changed

+15
-25
lines changed

‎algorithm/color/rgb2hex.test.ts

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

33
describe("rgb2hex", () => {
44
it("rgb(255,255,255) > #ffffff", () => {

‎algorithm/sets/cartesian.test.ts

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
import { cartesian, multi_cartesian } from "./cartesian";
1+
import * as asserts from "https://deno.land/std@0.125.0/testing/asserts.ts";
2+
import { cartesian, multi_cartesian } from "./cartesian.ts";
23

3-
describe("cartesian", () => {
4-
it("renders props.msg when passed", () => {
5-
const msg = "new message";
6-
const wrapper = shallowMount(HelloWorld, {
7-
props: { msg },
8-
});
9-
expect(wrapper.text()).toMatch(msg);
10-
});
11-
});
12-
13-
describe("multi_cartesian", () => {
14-
it("renders props.msg when passed", () => {
15-
const msg = "new message";
16-
const wrapper = shallowMount(HelloWorld, {
17-
props: { msg },
18-
});
19-
expect(wrapper.text()).toMatch(msg);
4+
Deno.test("renders props.msg when passed", () => {
5+
const msg = "new message";
6+
const wrapper = shallowMount(HelloWorld, {
7+
props: { msg },
208
});
9+
expect(wrapper.text()).toMatch(msg);
2110
});

‎data-structure/array/Array.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* 翻转数组(reverse a array, 0 extra memory)
2+
* array reverse
3+
* @description reverse a array, 0 extra memory
34
*/
45
export const reverse = (
56
arr: Array<number | string>,

‎data-structure/graph/Graph.test.ts

Whitespace-only changes.

‎data-structure/graph/Graph.ts

Whitespace-only changes.

‎data-structure/hash-table/HashTable.test.ts

Whitespace-only changes.

‎data-structure/hash-table/HashTable.ts

Whitespace-only changes.

‎data-structure/heap/Head.test.ts

Whitespace-only changes.

‎data-structure/heap/Head.ts

Whitespace-only changes.

‎data-structure/queue/Queue.test.ts

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /