Class EntityStatePduTest

java.lang.Object
edu.nps.moves.dis7.PduTest
edu.nps.moves.dis7.EntityStatePduTest

@DisplayName("Entity State Pdu Test") public class EntityStatePduTest extends PduTest
  • Constructor Details

    • EntityStatePduTest

      public EntityStatePduTest()
  • Method Details

    • testRoundTrip

      @Test public void testRoundTrip()
      Test PDU sending, receiving, marshalling (serialization) and unmarshalling (deserialization)
      Specified by:
      testRoundTrip in class PduTest
    • testOnePdu

      protected void testOnePdu(Pdu createdPdu)
      Test single PDU for correctness according to all contained fields in this PDU type See https://en.wikipedia.org/wiki/Marshalling_(computer_science)
      Specified by:
      testOnePdu in class PduTest
      Parameters:
      createdPdu - separate PDU for comparison
    • main

      public static void main(String[] args)