Document architecture checkpoint and restore original task callback order
This commit is contained in:
1 parent
69d0187a21
commit
531883aaac
45 files changed
+2935
-43
No files matched your search
@@ -0,0 +1,19 @@
|
||||
from pathlib import Path
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(ROOT / 'tools/binary'))
|
||||
from checkpoint_voice_clock import collect
|
||||
|
||||
|
||||
class VoiceClockEvidenceTests(unittest.TestCase):
|
||||
def test_original_voice_uses_software_time_and_repeat(self):
|
||||
report = collect(ROOT.parent / 'Original')
|
||||
self.assertEqual(len(report['vtables']), 3)
|
||||
self.assertEqual(len(report['anchors']), 12)
|
||||
self.assertEqual([c['value'] for c in report['constants']], [.5, 1000.0])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user