Skip to content

Commit

Permalink
regenerate test file csvs, rename files in merkle-tree dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block committed Jun 22, 2024
1 parent a5cadad commit 415349c
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 219 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func TestInclusionParameters_TestTree(t *testing.T) {
file, err := os.OpenFile("../test-data/inclusion_tmp.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
file, err := os.OpenFile("../test-data/inclusion.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
fmt.Println(err)
return
Expand Down Expand Up @@ -45,7 +45,7 @@ func TestInclusionParameters_TestTree(t *testing.T) {
}

func TestNonInclusionParameters_TestTree(t *testing.T) {
file, err := os.OpenFile("../test-data/non-inclusion_tmp.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
file, err := os.OpenFile("../test-data/non_inclusion.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
t.Errorf("Error opening file: %v", err)
return
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestNonInclusionParameters_TestTree(t *testing.T) {
}

func TestCombined(t *testing.T) {
file, err := os.OpenFile("../test-data/combined_tmp.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
file, err := os.OpenFile("../test-data/combined.csv", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {
t.Errorf("Error opening file: %v", err)
return
Expand Down
File renamed without changes.
Loading

0 comments on commit 415349c

Please sign in to comment.