Skip to content

Commit

Permalink
Fix parse4CoorectArgumentsTest to use named command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
boiseamit committed Nov 27, 2023
1 parent 720085f commit 2039f42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/java/cs321/create/GeneBankCreateBTreeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class GeneBankCreateBTreeTest
public void parse4CorrectArgumentsTest() throws ParseArgumentException
{
args = new String[4];
args[0] = "0";
args[1] = "20";
args[2] = "fileNameGbk.gbk";
args[3] = "13";
args[0] = "--cache=0";
args[1] = "--degree=20";
args[2] = "--gbkfile=fileNameGbk.gbk";
args[3] = "--length=13";

expectedConfiguration = new GeneBankCreateBTreeArguments(false, 20, "fileNameGbk.gbk", 13, 0, 0);
actualConfiguration = GeneBankCreateBTree.parseArguments(args);
Expand Down

0 comments on commit 2039f42

Please sign in to comment.