some code samples, various examples of simple modeling ideas and some minor algorithms.

TriangleOneTest.java 488B

123456789101112131415161718192021222324252627282930
  1. import static org.junit.Assert.*;
  2. import org.junit.After;
  3. import org.junit.Before;
  4. import org.junit.Test;
  5. public class TriangleOneTest
  6. {
  7. private TriangleOne star;
  8. @Before
  9. public void setUp(){
  10. star = new TriangleOne();
  11. }
  12. // @Test
  13. public void triangleTest1(){
  14. //Given
  15. //int expected = 25;
  16. //When
  17. //int actual = game.score();
  18. //Then
  19. //assertEquals(expected, actual);
  20. }
  21. }