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.3.6 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.5 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.4 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.3 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.2 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.1 tests/bootcamp/test/utils/_power.scss
flint-gs-2.3.0 tests/bootcamp/test/utils/_power.scss
oulu-rails-0.6.14 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.13 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
flint-gs-2.2.0 tests/bootcamp/test/utils/_power.scss
flint-gs-2.1.4 tests/bootcamp/test/utils/_power.scss
oulu-rails-0.6.12 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.11 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.10 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.5 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.4 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.3 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.2 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.6.0 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss
oulu-rails-0.5.37 vendor/assets/stylesheets/bootcamp/test/utils/_power.scss