Skip to content

Commit

Permalink
更新helper助手和README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aQua authored and aQua committed Jul 28, 2017
1 parent 95b8e89 commit ad3cab5
Show file tree
Hide file tree
Showing 568 changed files with 567 additions and 0 deletions.
1 change: 1 addition & 0 deletions Algorithms/0016.3sum-closest/3sum-closest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0016

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0017

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0018.4sum/4sum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0018

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0019

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0020

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0021

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0022

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0023

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0024

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0025

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0026

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0027.remove-element/remove-element_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0027

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0028.implement-strstr/implement-strstr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0028

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0029

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0030

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0031.next-permutation/next-permutation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0031

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0032

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0033

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0034

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0035

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0036.valid-sudoku/valid-sudoku_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0036

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0037.sudoku-solver/sudoku-solver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0037

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0038.count-and-say/count-and-say_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0038

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0039.combination-sum/combination-sum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0039

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0040

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0041

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0042

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0043.multiply-strings/multiply-strings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0043

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0044

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0045.jump-game-ii/jump-game-ii_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0045

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0046.permutations/permutations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0046

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0047.permutations-ii/permutations-ii_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0047

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0048.rotate-image/rotate-image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0048

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0049.group-anagrams/group-anagrams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0049

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0050.powx-n/powx-n_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0050

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0051.n-queens/n-queens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0051

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0052.n-queens-ii/n-queens-ii_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0052

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0053.maximum-subarray/maximum-subarray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0053

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0054.spiral-matrix/spiral-matrix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0054

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0055.jump-game/jump-game_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0055

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0056.merge-intervals/merge-intervals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0056

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0057.insert-interval/insert-interval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0057

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0058

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0059.spiral-matrix-ii/spiral-matrix-ii_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0059

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0060

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0061.rotate-list/rotate-list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0061

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0062.unique-paths/unique-paths_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0062

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0063.unique-paths-ii/unique-paths-ii_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0063

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0064.minimum-path-sum/minimum-path-sum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0064

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
1 change: 1 addition & 0 deletions Algorithms/0065.valid-number/valid-number_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package Problem0065

import (
"testing"
"fmt"

"github.com/stretchr/testify/assert"
)
Expand Down
Loading

0 comments on commit ad3cab5

Please sign in to comment.