summaryrefslogtreecommitdiff
path: root/src/Q4/RandomSumGameTest.java
blob: 41c09230a5b2206baed79c92d431c05caf244a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package ca.mokhan.test;

import Q4.*;
import java.io.*;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class RandomSumGameTest extends TestCase {
  private RandomSumGame subject;

  public RandomSumGameTest(String testName) {
    super(testName);
    this.subject = new RandomSumGame(new PrintStream(new ByteArrayOutputStream()));
  }

  public static Test suite() {
    return new TestSuite(RandomSumGameTest.class);
  }

  public void test_play() {
    subject.play();
    assertTrue(true);
  }
}