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 0439b17f..8425d775 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 cc4c4ee8..86c0740b 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 10528079..30882218 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 4e6d50da..6edacd4e 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 cf681ff0..6b777dfa 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 768558f7..f09b8521 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 dc0cc700..248aa51f 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