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

SquaresTest.java 441B

123456789101112131415161718192021222324252627
  1. import static org.junit.Assert.*;
  2. import org.junit.After;
  3. import org.junit.Before;
  4. import org.junit.Test;
  5. /**
  6. * The test class SquaresTest.
  7. *
  8. * @author (your name)
  9. * @version (a version number or a date)
  10. */
  11. public class SquaresTest
  12. {
  13. @Test
  14. public void square(){
  15. Squares sq = new Squares();
  16. int expected= 2;
  17. int actual= 2;
  18. assertEquals(expected,actual);
  19. }
  20. }