Skip to content
Snippets Groups Projects
Commit 11b17438 authored by terry-norbraten's avatar terry-norbraten
Browse files

double set of entityKind corrected

parent 9b0ee0fe
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ public class EntityStatePduTest extends PduTest
// TODO test various alternate constructors and utility methods
EntityType entityType = new EntityType()
.setEntityKind (EntityKind.PLATFORM).setEntityKind(EntityKind.PLATFORM) //(short) 1); // Platform (vs lifeform, munition, sensor, etc.); //(short) 1); // Platform (vs lifeform, munition, sensor, etc.)
.setEntityKind (EntityKind.PLATFORM) //(short) 1); // Platform (vs lifeform, munition, sensor, etc.); //(short) 1); // Platform (vs lifeform, munition, sensor, etc.)
.setCountry (Country.UNITED_STATES_OF_AMERICA_USA) // 225 USA
.setDomain (Domain.inst(PlatformDomain.LAND)) // Land (vs air, surface, subsurface, space)
.setCategory ((byte) 1) // Tank
......
......@@ -133,6 +133,7 @@ abstract public class PduTest
{
receivedPdu = newPdu;
}
/**
* Initial common tests for fields in PDU header.
* See <a href="https://en.wikipedia.org/wiki/Marshalling_(computer_science)" target="_blank">https://en.wikipedia.org/wiki/Marshalling_(computer_science)</a>
......@@ -169,6 +170,7 @@ abstract public class PduTest
System.out.println("================================================================");
}
}
/**
* Final common tests of PDU characteristics after individual fields are checked.
* See <a href="https://en.wikipedia.org/wiki/Marshalling_(computer_science)" target="_blank">https://en.wikipedia.org/wiki/Marshalling_(computer_science)</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment