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

CalendarGraphicTest.java 924B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 CalendarGraphicTest.
  7. *
  8. * @author (your name)
  9. * @version (a version number or a date)
  10. */
  11. public class CalendarGraphicTest
  12. {
  13. /**
  14. * Default constructor for test class CalendarGraphicTest
  15. */
  16. public CalendarGraphicTest()
  17. {
  18. }
  19. /**
  20. * Sets up the test fixture.
  21. *
  22. * Called before every test case method.
  23. */
  24. @Before
  25. public void setUp()
  26. {
  27. }
  28. /**
  29. * Tears down the test fixture.
  30. *
  31. * Called after every test case method.
  32. */
  33. @After
  34. public void tearDown()
  35. {
  36. }
  37. @Test
  38. public void test1()
  39. {
  40. CalendarGraphic calendar2 = new CalendarGraphic(4, 7, 2018);
  41. }
  42. @Test
  43. public void test2()
  44. {
  45. CalendarGraphic calendar1 = new CalendarGraphic(25, 12, 2018);
  46. }
  47. }