Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. private static void testProbTrans() {
  2. Random rand = new Random(Config.SEED);
  3. ArrayList<String[]> curTrans = new ArrayList<String[]>();
  4. String [] one = {"Head back home", "2", "5"};
  5. curTrans.add(one);
  6. String testValue = AdventureStory.probTrans(rand, curTrans);
  7. if (testValue.equals("2")) {
  8. System.out.print("testProbTrans has passed YEET!");
  9. }
  10. else {
  11. System.out.print("testProbTrans has failed :(");
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement