From bfc370bdda6cd416a62a243ac547e7f306f3bc60 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 7 Aug 2023 17:43:01 +0200 Subject: [PATCH] Removed useless prints in parser_test --- maze/parser/parser_test.go | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/maze/parser/parser_test.go b/maze/parser/parser_test.go index 1ae878d..024d3c1 100644 --- a/maze/parser/parser_test.go +++ b/maze/parser/parser_test.go @@ -9,7 +9,6 @@ import ( ) func TestTextReadTrivial(t *testing.T) { - fmt.Println("---------- Trivial ----------") /* trivial.txt ## ## # # @@ -68,7 +67,6 @@ func TestTextReadTrivial(t *testing.T) { } func TestTextReadTrivialBigger(t *testing.T) { - fmt.Println("---------- Trivial Bigger ----------") /* trivial-bigger.txt ### ### ### ### @@ -119,10 +117,6 @@ func TestTextReadTrivialBigger(t *testing.T) { t.Fatalf("Didn't get the same size of nodes: %v, want %v", len(got.Nodes), len(nodes)) } - for _, node := range got.Nodes { - fmt.Println(node) - } - for i, got := range got.Nodes { expected := nodes[i] @@ -135,7 +129,6 @@ func TestTextReadTrivialBigger(t *testing.T) { } func TestTextReadTrivialBiggerStaggered(t *testing.T) { - fmt.Println("---------- Trivial Staggered ----------") /* trivial-bigger-staggered.txt ### ### ### ### @@ -191,10 +184,6 @@ func TestTextReadTrivialBiggerStaggered(t *testing.T) { t.Fatalf("Didn't get the same size of nodes: %v, want %v", len(got.Nodes), len(nodes)) } - for _, node := range got.Nodes { - fmt.Println(node) - } - for i, got := range got.Nodes { expected := nodes[i] @@ -207,8 +196,6 @@ func TestTextReadTrivialBiggerStaggered(t *testing.T) { } func TestTextReadNormal(t *testing.T) { - return - fmt.Println("---------- Normal ----------") /* trivial-bigger-staggered.txt ##### ##### # # # @@ -354,10 +341,6 @@ func TestTextReadNormal(t *testing.T) { t.Fatalf("Didn't get the same size of nodes: %v, want %v", len(got.Nodes), len(nodes)) } - for _, node := range got.Nodes { - fmt.Println(node) - } - for i, got := range got.Nodes { expected := nodes[i]