Closed blvns closed 9 years ago
The logic in map() and calculate_capacity() was repetitive, so I refactored the code so that calculate_capacity() could be used by both map() and capacity(). I also updated test_calculate_capacity() so it reflects the change.
looks good!
:+1:
:+1: yay!
The logic in map() and calculate_capacity() was repetitive, so I refactored the code so that calculate_capacity() could be used by both map() and capacity(). I also updated test_calculate_capacity() so it reflects the change.