Skip to content

rgkaw/barrans-saga-test-raka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

barrans-saga-test-raka

barrans saga riddle test

how to use

run BarransSagaRiddle.java with your favorite IDE, or run manually:

  1. open cmd/terminal, change directory to [program-directory]/src/main/java and compile program using command 'javac BarransSagaRiddle.java'.
  2. run program with 'java BarransSagaRiddle'
  3. insert AgeOfDeath Person A, YearOfDeath Person A, AgeOfDeath Person B, YearOfDeath Person B.
  4. output will shown in cmd/terminal. after compiling, the program can be run without re-compiling the program.

to do the test, go to [program-directory]/src/test/java/ then compile and run BarransSagaRiddleTest.java. to see/edit test cases, open/edit CSV file in [program-directory]/src/test/resources.

columns in testcases.csv : testCase | ageDeathA | yearDeathA | ageDeathB | yearDeathB | expectedOutput

About

barrans saga riddle test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages