Initial power calculations

Power calculations with Junit tests