Skip to content

Commit

Permalink
Fixed CSVStockFileParserTest, moved calculatortests to model to match…
Browse files Browse the repository at this point in the history
… project structure
  • Loading branch information
Nikollai committed May 25, 2026
1 parent 4079e92 commit 18a74af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import millions.controller.fileIO.InvalidFormatException;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;


Expand All @@ -16,8 +17,8 @@ public class CSVStockFileParserTest {
static String exampleString;
final CSVStockFileParser parser = new CSVStockFileParser();

@BeforeAll
public static void setUpTestString() {
@BeforeEach
public void setUpTestString() {
exampleString = "# Top 500 US Stocks by Market Cap\n";
exampleString += "# Ticker,Name,Price\n";
exampleString += "\n";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package millions.calculators;
package millions.model.calculators;

import static org.junit.jupiter.api.Assertions.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package millions.calculators;
package millions.model.calculators;

import static org.junit.jupiter.api.Assertions.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package millions.calculators;
package millions.model.calculators;

import static org.junit.jupiter.api.Assertions.*;

Expand Down

0 comments on commit 18a74af

Please sign in to comment.