mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
These will be used in conjunction with https://github.com/spatialillusions/milsymbol to simplify the specification of unit type to the front-end.
18 lines
444 B
Python
18 lines
444 B
Python
from game.sidc import (
|
|
LandInstallationEntity,
|
|
StandardIdentity,
|
|
Status,
|
|
SymbolIdentificationCode,
|
|
SymbolSet,
|
|
)
|
|
|
|
|
|
def test_sidc() -> None:
|
|
sidc = SymbolIdentificationCode(
|
|
standard_identity=StandardIdentity.FRIEND,
|
|
symbol_set=SymbolSet.LAND_INSTALLATIONS,
|
|
status=Status.PRESENT_DAMAGED,
|
|
entity=LandInstallationEntity.AIPORT_AIR_BASE,
|
|
)
|
|
assert str(sidc) == "10032030001213010000"
|