Adds more thorough tests for SustainableWebDesign.prototype.perByte
Removes the associated tests from co2.test.js
Makes a small functionality tweak: passing perByte(n) where n is less than 1 now behaves as if you called perByte(0), similar to the existing OneByte model code
This change:
SustainableWebDesign.prototype.perByte
co2.test.js
perByte(n)
wheren
is less than 1 now behaves as if you calledperByte(0)
, similar to the existingOneByte
model codeThis is part of #98.