Browse Source

Fixing a misnamed file

pull/533/head
Xavier Petit 4 years ago committed by xpetit
parent
commit
38496e968d
  1. 2
      tests/go/solutions/anagram/anagram_test.go
  2. 2
      tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go
  3. 2
      tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go
  4. 2
      tests/go/solutions/halfcontestprog/halfcontestprog_test.go
  5. 2
      tests/go/solutions/nruneprog/nruneprog_test.go
  6. 2
      tests/go/solutions/sliceprog/sliceprog_test.go
  7. 2
      tests/go/solutions/sweetproblem/sweetproblem_test.go

2
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 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 { type node struct {
s string s string
t string t string

2
tests/go/solutions/doppelgangerprog/doppelgangerprog_test.go

@ -11,7 +11,7 @@ type node struct {
big, little string big, little string
} }
func TestDoppelGanger(t *testing.T) { func TestDoppelGangerProg(t *testing.T) {
table := []node{} table := []node{}
table = append(table, table = append(table,

2
tests/go/solutions/findprevprimeprog/findprevprimeprog_test.go

@ -7,7 +7,7 @@ import (
"github.com/01-edu/z01" "github.com/01-edu/z01"
) )
func TestFindPrevPrime(t *testing.T) { func TestFindPrevPrimeProg(t *testing.T) {
array := []int{5, 4, 1} array := []int{5, 4, 1}
for i := 0; i < 7; i++ { for i := 0; i < 7; i++ {
array = append(array, z01.RandIntBetween(0, 99999)) array = append(array, z01.RandIntBetween(0, 99999))

2
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 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 { type node struct {
h1 int h1 int
m1 int m1 int

2
tests/go/solutions/nruneprog/nruneprog_test.go

@ -9,7 +9,7 @@ import (
solutions "../../solutions" solutions "../../solutions"
) )
func TestNRune(t *testing.T) { func TestNRuneProg(t *testing.T) {
type node struct { type node struct {
word string word string
n int n int

2
tests/go/solutions/sliceprog/sliceprog_test.go

@ -8,7 +8,7 @@ import (
solutions "../../solutions" solutions "../../solutions"
) )
func TestSlice(t *testing.T) { func TestSliceProg(t *testing.T) {
arr := [][]interface{}{ arr := [][]interface{}{
{ {
[]string{"coding", "algorithm", "ascii", "package", "golang"}, []string{"coding", "algorithm", "ascii", "package", "golang"},

2
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 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 { type node struct {
red int red int
green int green int

Loading…
Cancel
Save