Closed andrewgordstewart closed 5 years ago
Many initializers are better off using destructured objects as their arguments. This is less bug-prone -- consider the case where proposedAllocation and proposedDestination are passed in the wrong order -- and leads to cleaner tests.
proposedAllocation
proposedDestination
Along the way, I removed some extra cruft.
Many initializers are better off using destructured objects as their arguments. This is less bug-prone -- consider the case where
proposedAllocation
andproposedDestination
are passed in the wrong order -- and leads to cleaner tests.Along the way, I removed some extra cruft.