On Tue, Jan 7, 2020 at 1:32 PM Brian Theado <[email protected]> wrote: parse tree.
>> The asserts in tog.sync_tokens suffice to create strong unit tests. > Maybe if I really want to understand, I can intentionally break the code in a few places and see how the failures work. Yes, that should work. The assert in tog.sync_tokens ensures only that the traversal of the tree visits nodes in the correct order. The coverage tests you suggest would ensure that all kinds of parse tree nodes are actually tested, which is a separate issue. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS3WnLm7CHt2cxPN%3DV6%3DZSVw6OO4BOcy0GnVJJfAbq128Q%40mail.gmail.com.
