Removed useless prints in parser_test
This commit is contained in:
parent
8b0fa4c1f9
commit
bfc370bdda
@ -9,7 +9,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestTextReadTrivial(t *testing.T) {
|
func TestTextReadTrivial(t *testing.T) {
|
||||||
fmt.Println("---------- Trivial ----------")
|
|
||||||
/* trivial.txt
|
/* trivial.txt
|
||||||
## ##
|
## ##
|
||||||
# #
|
# #
|
||||||
@ -68,7 +67,6 @@ func TestTextReadTrivial(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTextReadTrivialBigger(t *testing.T) {
|
func TestTextReadTrivialBigger(t *testing.T) {
|
||||||
fmt.Println("---------- Trivial Bigger ----------")
|
|
||||||
/* trivial-bigger.txt
|
/* 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))
|
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 {
|
for i, got := range got.Nodes {
|
||||||
expected := nodes[i]
|
expected := nodes[i]
|
||||||
|
|
||||||
@ -135,7 +129,6 @@ func TestTextReadTrivialBigger(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTextReadTrivialBiggerStaggered(t *testing.T) {
|
func TestTextReadTrivialBiggerStaggered(t *testing.T) {
|
||||||
fmt.Println("---------- Trivial Staggered ----------")
|
|
||||||
/* trivial-bigger-staggered.txt
|
/* 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))
|
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 {
|
for i, got := range got.Nodes {
|
||||||
expected := nodes[i]
|
expected := nodes[i]
|
||||||
|
|
||||||
@ -207,8 +196,6 @@ func TestTextReadTrivialBiggerStaggered(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTextReadNormal(t *testing.T) {
|
func TestTextReadNormal(t *testing.T) {
|
||||||
return
|
|
||||||
fmt.Println("---------- Normal ----------")
|
|
||||||
/* trivial-bigger-staggered.txt
|
/* 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))
|
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 {
|
for i, got := range got.Nodes {
|
||||||
expected := nodes[i]
|
expected := nodes[i]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user