Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void testProbTrans() {
- Random rand = new Random(Config.SEED);
- ArrayList<String[]> curTrans = new ArrayList<String[]>();
- String [] one = {"Head back home", "2", "5"};
- curTrans.add(one);
- String testValue = AdventureStory.probTrans(rand, curTrans);
- if (testValue.equals("2")) {
- System.out.print("testProbTrans has passed YEET!");
- }
- else {
- System.out.print("testProbTrans has failed :(");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement