<commit_before>@import 'true';
@import '../sass/index';

@include test-module('math-pow-polyfill') {
  @include test('Returns 1 for exponent 0.') {
    @include assert-equal(math-pow-polyfill(   1,   0), 1);
    @include assert-equal(math-pow-polyfill(   2,   0), 1);
    @include assert-equal(math-pow-polyfill(9999,   0), 1);
    @include assert-equal(math-pow-polyfill(   0.5, 0), 1);
  }
  @include test('Return base for exponent 1') {
    @include assert-equal(math-pow-polyfill(   1,   1),    1  );
    @include assert-equal(math-pow-polyfill(   2,   1),    2  );
    @include assert-equal(math-pow-polyfill(9999,   1), 9999  );
    @include assert-equal(math-pow-polyfill(   0.5, 1),    0.5);
  }
  @include test('Supports a non-integer exponent.') {
    @include assert-equal(  math-round(math-pow-polyfill(4, 0.5)  ), 2);
    @include assert-equal(  math-round(math-pow-polyfill(9, 0.5)  ), 3);
    @include assert-equal(  math-round(math-pow-polyfill(8, 1/3)  ), 2);
    @include assert-equal(  math-round(math-pow-polyfill(4, 3/2)  ), 8);
  }
}
<commit_msg>expand tests<commit_after>@import 'true';
@import '../sass/index';

@include test-module('math-pow-polyfill') {
  @include test('Returns 1 for exponent 0.') {
    @include assert-equal(math-pow-polyfill(   1,   0), 1);
    @include assert-equal(math-pow-polyfill(   2,   0), 1);
    @include assert-equal(math-pow-polyfill(9999,   0), 1);
    @include assert-equal(math-pow-polyfill(   0.5, 0), 1);
  }
  @include test('Return base for exponent 1') {
    @include assert-equal(math-pow-polyfill(   1,   1),    1  );
    @include assert-equal(math-pow-polyfill(   2,   1),    2  );
    @include assert-equal(math-pow-polyfill(9999,   1), 9999  );
    @include assert-equal(math-pow-polyfill(   0.5, 1),    0.5);
  }
  @include test('Supports a non-integer exponent.') {
    @include assert-equal(math-round(math-pow-polyfill(4,   0.5) * 100), 200);
    @include assert-equal(math-round(math-pow-polyfill(9,   0.5) * 100), 300);
    @include assert-equal(math-round(math-pow-polyfill(8,   1/3) * 100), 200);
    @include assert-equal(math-round(math-pow-polyfill(4,   3/2) * 100), 800);
    @include assert-equal(math-round(math-pow-polyfill(0.5, 0.5) * 100),  71);
  }
  @include test('Supports negativ exponent.') {
    @include assert-equal(math-round(math-pow-polyfill(   1,   -2  ) * 100), 100);
    @include assert-equal(math-round(math-pow-polyfill(   2,   -2  ) * 100),  25);
    @include assert-equal(math-round(math-pow-polyfill(   0.5, -2  ) * 100), 400);
    @include assert-equal(math-round(math-pow-polyfill(  -2,   -2  ) * 100),  25);
    @include assert-equal(math-round(math-pow-polyfill(   2,   -2.5) * 100),  18);
  }
}

{'fraction_non_alphanumeric': 0.18927911275415896, 'fraction_numerical': 0.06580406654343808, 'mean_word_length': 3.1187214611872145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '295733', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1033, 'n_words': 202}