Improve roundtrip verification tests and debug dump.
Add another round-trip verification. For both original and generated state, generate a diff from an initial, empty state. Verify that these two diffs are the same.
This commit is contained in:
@@ -76,6 +76,7 @@ namespace Terminal {
|
||||
/* interface for Network::Transport */
|
||||
void subtract( const Complete * ) const {}
|
||||
std::string diff_from( const Complete &existing ) const;
|
||||
std::string init_diff( void ) const;
|
||||
void apply_string( std::string diff );
|
||||
bool operator==( const Complete &x ) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user