@@ -2,8 +2,8 @@ package main
22
33import "testing"
44
5- func TestExample (t * testing.T ) {
6- left , right , err := readFile ("../data/01/example" )
5+ func Test01Example (t * testing.T ) {
6+ left , right , err := read01File ("../data/01/example" )
77 if err != nil {
88 t .Fatalf ("Error reading file: %v" , err )
99 }
@@ -15,8 +15,8 @@ func TestExample(t *testing.T) {
1515 }
1616}
1717
18- func TestExampleSecond (t * testing.T ) {
19- left , right , err := readFile ("../data/01/example" )
18+ func Test01ExampleSecond (t * testing.T ) {
19+ left , right , err := read01File ("../data/01/example" )
2020 if err != nil {
2121 t .Fatalf ("Error reading file: %v" , err )
2222 }
@@ -27,8 +27,8 @@ func TestExampleSecond(t *testing.T) {
2727 }
2828}
2929
30- func TestInput (t * testing.T ) {
31- left , right , err := readFile ("../data/01/input" )
30+ func Test01Input (t * testing.T ) {
31+ left , right , err := read01File ("../data/01/input" )
3232 if err != nil {
3333 t .Fatalf ("Error reading file: %v" , err )
3434 }
@@ -40,8 +40,8 @@ func TestInput(t *testing.T) {
4040 }
4141}
4242
43- func TestInputSecond (t * testing.T ) {
44- left , right , err := readFile ("../data/01/input" )
43+ func Test01InputSecond (t * testing.T ) {
44+ left , right , err := read01File ("../data/01/input" )
4545 if err != nil {
4646 t .Fatalf ("Error reading file: %v" , err )
4747 }
0 commit comments