From 4ec6225a9273b8f0c93e4b3d93ecf1e1686b719c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 4 Feb 2022 20:28:18 +0100 Subject: Fix errors from transition from node-sass to sass --- test/_math.scss | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 test/_math.scss (limited to 'test/_math.scss') diff --git a/test/_math.scss b/test/_math.scss deleted file mode 100644 index 5f40499..0000000 --- a/test/_math.scss +++ /dev/null @@ -1,21 +0,0 @@ -// sass-lint:disable empty-args - -@include describe('Math') { - @include it('iro-math-pow') { - @include assert-equal(iro-math-pow(2, 2), 2 * 2, '2^2'); - @include assert-equal(iro-math-pow(2, 3), 2 * 2 * 2, '2^3'); - @include assert-equal(iro-math-pow(4, 3), 4 * 4 * 4, '4^3'); - @include assert-equal(iro-math-pow(3, -1), 1 / 3, '3^(-1)'); - @include assert-equal(iro-math-pow(4, -2), 1 / (4 * 4), '4^(-2)'); - @include assert-equal(iro-math-pow(3, 0), 1, '3^0'); - } - - @include it('iro-math-clamp') { - @include assert-equal(iro-math-clamp(0, 0, 10), 0, '0 in [0, 10]'); - @include assert-equal(iro-math-clamp(10, 0, 10), 10, '10 in [0, 10]'); - @include assert-equal(iro-math-clamp(20, 0, 10), 10, '20 in [0, 10]'); - @include assert-equal(iro-math-clamp(3, 10, 20), 10, '3 in [10, 20]'); - @include assert-equal(iro-math-clamp(-5, -30, -10), -10, '-5 in [-30, -10]'); - @include assert-equal(iro-math-clamp(-5, -30, -2), -5, '-5 in [-30, -2]'); - } -} -- cgit v1.2.3-54-g00ecf