]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor route tests
authorDominik Spicher <dominikspicher@gmail.com>
Mon, 24 Aug 2020 21:06:07 +0000 (23:06 +0200)
committerDominik Spicher <dominikspicher@gmail.com>
Mon, 24 Aug 2020 22:50:54 +0000 (00:50 +0200)
commitedeb122ce5e7045e7d5c57e63cf052d7f7104d60
tree474ea8d7e1b5f7076ab2c963d006ddb24131abd0
parentb3b4f434a2c384b4d37d7e7977ebd190377f2891
Refactor route tests

* Splits up the monolithic test into smaller unit tests

* Factors out helpers for graph setup

* Changes `id_to_feature_flags` to be a function, there was no
reason why it had to be a macro

* Activates a previously commented-out test that checks for
the failure case in `disable_node_test`
lightning/src/routing/router.rs