You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After thinking about #5 and #3 for a while, we possible need to come up with a way better high-level testing framework. This idea is somewhat inspired by the TOML community and one of their testing frameworks: If we really want to test HSD implementations, we have to store the data in a programming language independent format, the tree representation in DFTB+ or a Python dict is not such a format, but the XML format which inspired HSD would certainly be suitable.
Implementing a serializer to write HSD data as XML would allow to reread the XML and compare to a reference XML by a trusted decoder implementation, this would ensure the decoding of HSD is working correctly. A similar scheme could test the encoding, but requires a trusted HSD implementation (e.g. DFTB+).
The text was updated successfully, but these errors were encountered:
After thinking about #5 and #3 for a while, we possible need to come up with a way better high-level testing framework. This idea is somewhat inspired by the TOML community and one of their testing frameworks: If we really want to test HSD implementations, we have to store the data in a programming language independent format, the tree representation in DFTB+ or a Python dict is not such a format, but the XML format which inspired HSD would certainly be suitable.
Implementing a serializer to write HSD data as XML would allow to reread the XML and compare to a reference XML by a trusted decoder implementation, this would ensure the decoding of HSD is working correctly. A similar scheme could test the encoding, but requires a trusted HSD implementation (e.g. DFTB+).
The text was updated successfully, but these errors were encountered: