Sha256: ab856737e48c5e10b4d2ae364bb6307c58f58fb2e24d03bab80c041526c3bd4e

Contents?: true

Size: 705 Bytes

Versions: 15

Compression:

Stored size: 705 Bytes

Contents

//
// Convert fixed to fluid width
//
@include describe("[function] fluid-width") {

	@include it("should expect result to be equal to manual calculation") {
		@include should(expect(
			flint-fluid-width(80em / 16, 80em)),
			to(be(100% / 16))
		);
		@include should(expect(
			flint-fluid-width(80em / 8, 80em)),
			to(be(100% / 8))
		);
		@include should(expect(
			flint-fluid-width(80em / 4, 80em)),
			to(be(100% / 4))
		);
		@include should(expect(
			flint-fluid-width(80em / 3, 80em)),
			to(be(100% / 3))
		);
		@include should(expect(
			flint-fluid-width(80em / 2, 80em)),
			to(be(100% / 2))
		);
		@include should(expect(
			flint-fluid-width(80em / 1, 80em)),
			to(be(100% / 1))
		);
	}
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flint-gs-2.3.6 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.5 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.4 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.3 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.2 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.1 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.3.0 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.2.0 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.1.4 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.1.3 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.1.2 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.1.1 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.1.0 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.0.9 tests/input/functions/lib/_fluid-width.scss
flint-gs-2.0.8 tests/input/functions/lib/_fluid-width.scss