Skip to content

Commit

Permalink
feat: tests now required before release
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Jan 28, 2019
1 parent ab1d9b2 commit 5cd5109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avg/distance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ func Test_distance(t *testing.T) {
{
name: "Original vs Damaged - 1%",
file1: "./test-png-original.png",
file2: "https://raw.githubusercontent.com/AskAlexSharov/imgdiff/master/test-png-damaged.png",
file2: "https://raw.githubusercontent.com/AskAlexSharov/imgdiff/master/avg/test-png-damaged.png",
wantDistance: 1,
},
{
name: "Scaled Down vs Damaged - 1%",
file1: "https://raw.githubusercontent.com/AskAlexSharov/imgdiff/master/test-png-scaled-down.png",
file1: "https://raw.githubusercontent.com/AskAlexSharov/imgdiff/master/avg/test-png-scaled-down.png",
file2: "./test-png-damaged.png",
wantDistance: 1,
},
Expand Down

0 comments on commit 5cd5109

Please sign in to comment.