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

1234567891011121314151617181920
  1. import static org.junit.Assert.*;
  2. import org.junit.After;
  3. import org.junit.Before;
  4. import org.junit.Test;
  5. public class SquaresTest
  6. {
  7. Squares square=new Squares();
  8. @Test
  9. public void testSquare()
  10. {
  11. int expected=1;
  12. int actual=square.display(1);
  13. assertEquals(actual,expected);
  14. }
  15. }