Add unit tests for channel capacity.
Add unit tests for channel capacity.

chebee7i/dit,Autoplectic/dit,chebee7i/dit,dit/dit,chebee7i/dit,Autoplectic/dit,Autoplectic/dit,dit/dit,Autoplectic/dit,Autoplectic/dit,dit/dit,dit/dit,dit/dit,chebee7i/dit