packagemvd.jester.model;importstaticorg.junit.jupiter.api.Assertions.assertTrue;importorg.junit.jupiter.api.DisplayName;importorg.junit.jupiter.api.Test;/** * SegmentTest */publicclassTestSegment{@Test@DisplayName("Test if dynamic segments are constructed correctly.")publicvoidtestSegmentConstruction(){Segments1=newSegment(100,10);Segments2=newSegment(9,10);assertTrue(s1.getJobWcet()==100);assertTrue(s1.getNumberOfJobs()==10);assertTrue(s2.getJobWcet()==9);assertTrue(s2.getNumberOfJobs()==10);}}