Package edu.nps.moves.dis7.test
Class X3dSlidingWindowCompressionTest
java.lang.Object
edu.nps.moves.dis7.test.X3dSlidingWindowCompressionTest
@DisplayName("X3dSlidingWindowCompressionTest")
public class X3dSlidingWindowCompressionTest
extends Object
Unit tests for X3dSlidingWindowCompression utility class.
Validates collinear point removal, area threshold behavior, time threshold behavior,
and edge cases with small input sets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidCommand-line invocation (CLI) of program, execution starts herestatic voidstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
X3dSlidingWindowCompressionTest
public X3dSlidingWindowCompressionTest()default constructor
-
-
Method Details
-
setUpClass
@BeforeAll public static void setUpClass() -
tearDownClass
@AfterAll public static void tearDownClass() -
testEmptyMap
@Test public void testEmptyMap() -
testSinglePoint
@Test public void testSinglePoint() -
testTwoPoints
@Test public void testTwoPoints() -
testCollinearPointsRemoved
@Test public void testCollinearPointsRemoved() -
testNonCollinearPointsRetained
@Test public void testNonCollinearPointsRetained() -
testTimeThresholdTriggersOutput
@Test public void testTimeThresholdTriggersOutput() -
testManyCollinearPoints
@Test public void testManyCollinearPoints() -
testZigzagPath
@Test public void testZigzagPath() -
testPreservesCoordinateValues
@Test public void testPreservesCoordinateValues() -
testInputMapNotModified
@Test public void testInputMapNotModified() -
main
Command-line invocation (CLI) of program, execution starts here- Parameters:
args- command-line arguments
-