From 38496e968d7c8b245ba42f9d6f65dbb513f85dc3 Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Tue, 21 Apr 2020 13:51:36 +0200 Subject: [PATCH] Fixing a misnamed file --- tests/go/solutions/anagram/anagram_test.go | 2 +- tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go | 2 +- tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go | 2 +- tests/go/solutions/halfcontestprog/halfcontestprog_test.go | 2 +- tests/go/solutions/nruneprog/nruneprog_test.go | 2 +- tests/go/solutions/sliceprog/sliceprog_test.go | 2 +- tests/go/solutions/sweetproblem/sweetproblem_test.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/go/solutions/anagram/anagram_test.go b/tests/go/solutions/anagram/anagram_test.go index 0439b17f8..8425d775b 100644 --- a/tests/go/solutions/anagram/anagram_test.go +++ b/tests/go/solutions/anagram/anagram_test.go @@ -8,7 +8,7 @@ import ( solutions "../../solutions" // This line is not necessary when testing an exercise with a program ) -func TestIsAnagram(t *testing.T) { +func TestAnagram(t *testing.T) { type node struct { s string t string diff --git a/tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go b/tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go index cc4c4ee82..86c0740bc 100644 --- a/tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go +++ b/tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go @@ -11,7 +11,7 @@ type node struct { big, little string } -func TestDoppelGanger(t *testing.T) { +func TestDoppelGangerProg(t *testing.T) { table := []node{} table = append(table, diff --git a/tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go b/tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go index 105280797..30882218b 100644 --- a/tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go +++ b/tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go @@ -7,7 +7,7 @@ import ( "github.com/01-edu/z01" ) -func TestFindPrevPrime(t *testing.T) { +func TestFindPrevPrimeProg(t *testing.T) { array := []int{5, 4, 1} for i := 0; i < 7; i++ { array = append(array, z01.RandIntBetween(0, 99999)) diff --git a/tests/go/solutions/halfcontestprog/halfcontestprog_test.go b/tests/go/solutions/halfcontestprog/halfcontestprog_test.go index 4e6d50da9..6edacd4e0 100644 --- a/tests/go/solutions/halfcontestprog/halfcontestprog_test.go +++ b/tests/go/solutions/halfcontestprog/halfcontestprog_test.go @@ -8,7 +8,7 @@ import ( solutions "../../solutions" // This line is not necessary when testing an exercise with a program ) -func TestHalf_contest(t *testing.T) { +func TestHalfContestProg(t *testing.T) { type node struct { h1 int m1 int diff --git a/tests/go/solutions/nruneprog/nruneprog_test.go b/tests/go/solutions/nruneprog/nruneprog_test.go index cf681ff03..6b777dfaf 100644 --- a/tests/go/solutions/nruneprog/nruneprog_test.go +++ b/tests/go/solutions/nruneprog/nruneprog_test.go @@ -9,7 +9,7 @@ import ( solutions "../../solutions" ) -func TestNRune(t *testing.T) { +func TestNRuneProg(t *testing.T) { type node struct { word string n int diff --git a/tests/go/solutions/sliceprog/sliceprog_test.go b/tests/go/solutions/sliceprog/sliceprog_test.go index 768558f79..f09b85212 100644 --- a/tests/go/solutions/sliceprog/sliceprog_test.go +++ b/tests/go/solutions/sliceprog/sliceprog_test.go @@ -8,7 +8,7 @@ import ( solutions "../../solutions" ) -func TestSlice(t *testing.T) { +func TestSliceProg(t *testing.T) { arr := [][]interface{}{ { []string{"coding", "algorithm", "ascii", "package", "golang"}, diff --git a/tests/go/solutions/sweetproblem/sweetproblem_test.go b/tests/go/solutions/sweetproblem/sweetproblem_test.go index dc0cc7009..248aa51fa 100644 --- a/tests/go/solutions/sweetproblem/sweetproblem_test.go +++ b/tests/go/solutions/sweetproblem/sweetproblem_test.go @@ -8,7 +8,7 @@ import ( solutions "../../solutions" // This line is not necessary when testing an exercise with a program ) -func TestSweerproblem(t *testing.T) { +func TestSweetProblem(t *testing.T) { type node struct { red int green int