Sha256: d8b9b1fbe486ede9a8e4f9d52412c07e06c91ff0dc990e72ea866ad437663339

Contents?: true

Size: 650 Bytes

Versions: 46

Compression:

Stored size: 650 Bytes

Contents

@include describe("Power Util") {
  @include it("should expect positive values to be calculated correctly") {
    @include should( expect( bc-util-power( 10, 2) ), to( equal(  100 )));
    @include should( expect( bc-util-power(  2, 2) ), to( equal(    4 )));
    @include should( expect( bc-util-power(0.5, 2) ), to( equal( 0.25 )));
  }

  @include it("should expect negative values to be calculated correctly") {
    @include should( expect( bc-util-power( 10, -2) ), to( equal( 0.01 )));
    @include should( expect( bc-util-power(  2, -2) ), to( equal( 0.25 )));
    @include should( expect( bc-util-power(0.5, -2) ), to( equal(    4 )));
  }
}

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
flint-gs-2.1.3 tests/bootcamp/test/utils/_power.scss
oulu-rails-0.5.34 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.33 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.32 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.31 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.30 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.29 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.27 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.25 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.24 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.23 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.22 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.19 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.18 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.17 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.16 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.14 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.13 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.12 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.11 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss