The test/graph/vertex_test.dart has variables bleeding throughout the codebase. We need to clean those up in spirit of other files. We should extract all local var declarations in the top level and lock/unlock them on setUp. Also, we can add lockAll, unlockAll, _initializeVertex etc functions to keep setUp uncluttered. We can test/graph/graph_test.dart for inspiration.
The
test/graph/vertex_test.dart
has variables bleeding throughout the codebase. We need to clean those up in spirit of other files. We should extract all local var declarations in the top level and lock/unlock them onsetUp
. Also, we can addlockAll
,unlockAll
,_initializeVertex
etc functions to keepsetUp
uncluttered. We cantest/graph/graph_test.dart
for inspiration.