forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0798119
This commit is contained in:
18
iqpilot/selfdrive/iqmodeld/tests/test_public_surface.py
Normal file
18
iqpilot/selfdrive/iqmodeld/tests/test_public_surface.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from openpilot.iqpilot.selfdrive.iqmodeld import metadata, messaging, parser
|
||||
from openpilot.iqpilot.selfdrive.iqmodeld.daemon import CaptureStamp, NeuralEngineState
|
||||
|
||||
|
||||
def test_public_module_surface():
|
||||
assert hasattr(messaging, "DrivePacketMemory")
|
||||
assert hasattr(messaging, "pick_curvature")
|
||||
assert hasattr(messaging, "populate_drive_messages")
|
||||
assert hasattr(messaging, "populate_odometry_message")
|
||||
|
||||
assert hasattr(parser, "ArchiveParser")
|
||||
assert hasattr(parser, "PhaseParser")
|
||||
|
||||
assert hasattr(metadata, "select_meta_layout")
|
||||
assert hasattr(metadata, "build_metadata_record")
|
||||
|
||||
assert CaptureStamp.__name__ == "CaptureStamp"
|
||||
assert NeuralEngineState.__name__ == "NeuralEngineState"
|
||||
Reference in New Issue
Block a user