Fixed failing tests
This commit is contained in:
parent
d28c118102
commit
cf5286d1c2
@ -42,7 +42,7 @@ func TestTextReadTrivial(t *testing.T) {
|
|||||||
|
|
||||||
nodes[4].Up = nodes[3]
|
nodes[4].Up = nodes[3]
|
||||||
|
|
||||||
reader := reader.TextReader{
|
reader := &reader.TextReader{
|
||||||
Filename: "../../assets/trivial.txt",
|
Filename: "../../assets/trivial.txt",
|
||||||
PathChar: ' ',
|
PathChar: ' ',
|
||||||
WallChar: '#',
|
WallChar: '#',
|
||||||
@ -107,7 +107,7 @@ func TestTextReadTrivialBigger(t *testing.T) {
|
|||||||
|
|
||||||
nodes[4].Up = nodes[3]
|
nodes[4].Up = nodes[3]
|
||||||
|
|
||||||
reader := reader.TextReader{
|
reader := &reader.TextReader{
|
||||||
Filename: "../../assets/trivial-bigger.txt",
|
Filename: "../../assets/trivial-bigger.txt",
|
||||||
PathChar: ' ',
|
PathChar: ' ',
|
||||||
WallChar: '#',
|
WallChar: '#',
|
||||||
@ -177,7 +177,7 @@ func TestTextReadTrivialBiggerStaggered(t *testing.T) {
|
|||||||
|
|
||||||
nodes[5].Up = nodes[4]
|
nodes[5].Up = nodes[4]
|
||||||
|
|
||||||
reader := reader.TextReader{
|
reader := &reader.TextReader{
|
||||||
Filename: "../../assets/trivial-bigger-staggered.txt",
|
Filename: "../../assets/trivial-bigger-staggered.txt",
|
||||||
PathChar: ' ',
|
PathChar: ' ',
|
||||||
WallChar: '#',
|
WallChar: '#',
|
||||||
@ -310,7 +310,7 @@ func TestTextReadNormal(t *testing.T) {
|
|||||||
nodes[link.to].Left = nodes[link.from]
|
nodes[link.to].Left = nodes[link.from]
|
||||||
}
|
}
|
||||||
|
|
||||||
reader := reader.TextReader{
|
reader := &reader.TextReader{
|
||||||
Filename: "../../assets/normal.txt",
|
Filename: "../../assets/normal.txt",
|
||||||
PathChar: ' ',
|
PathChar: ' ',
|
||||||
WallChar: '#',
|
WallChar: '#',
|
||||||
@ -501,7 +501,7 @@ func TestTextReadNormal2(t *testing.T) {
|
|||||||
nodes[link.to].Left = nodes[link.from]
|
nodes[link.to].Left = nodes[link.from]
|
||||||
}
|
}
|
||||||
|
|
||||||
reader := reader.TextReader{
|
reader := &reader.TextReader{
|
||||||
Filename: "../../assets/normal2.txt",
|
Filename: "../../assets/normal2.txt",
|
||||||
PathChar: ' ',
|
PathChar: ' ',
|
||||||
WallChar: '#',
|
WallChar: '#',
|
||||||
|
Loading…
Reference in New Issue
Block a user