ADI-Labs / density

wireless density API
13 stars 26 forks source link

Encapsulate map logic #171

Closed blvns closed 9 years ago

blvns commented 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.

evantarrh commented 9 years ago

looks good!

natebrennand commented 9 years ago

:+1:

jzf2101 commented 9 years ago

:+1: yay!