Recover sphere response and correct Jimmy ceiling cancellation
This commit is contained in:
1 parent
6a7a53c90d
commit
57dfcc64bb
37 files changed
+1324
-18
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 body_root_registration import collect
|
||||
|
||||
|
||||
class BodyRootRegistrationTests(unittest.TestCase):
|
||||
def test_registration_and_repeated_init_bytes(self):
|
||||
result=collect(ROOT.parent/'Original')
|
||||
self.assertEqual(len(result['sites']),14)
|
||||
self.assertEqual(len(result['tables']),4)
|
||||
targets={x['name']:x['target'] for x in result['tables']}
|
||||
self.assertEqual(targets['Jimmy InitPhysics'],'0x42ab50')
|
||||
self.assertEqual(targets['authored root'],'0x471630')
|
||||
|
||||
|
||||
if __name__=='__main__':unittest.main()
|
||||
Reference in new issue
Block a user