<commit_before>library somePackage;
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'package:cb_common/core.dart';

void main() {
  useHtmlConfiguration();
  test('parseNumber', () {
    expect(123,parseNumber("123px"));
    expect(123,parseNumber("123"));
    expect(123,parseNumber("123asd"));
    expect(123,parseNumber(" 1asd23asd"));
  });
  test('linearAnimationFunction', (){
    expect(0, linearAnimationFunction(0,0,100));
    expect(25, linearAnimationFunction(0.25,0,100));
    expect(50, linearAnimationFunction(0.5,0,100));
    expect(75, linearAnimationFunction(0.75,0,100));
    expect(100, linearAnimationFunction(1,0,100));
  });

  test('sizeToString', (){
    expect(sizeToString(0), "0 B");
    expect(sizeToString(10), "10 B");
    expect(sizeToString(102), "102 B");
    expect(sizeToString(103), "0.10 KB");
    expect(sizeToString(1024), "1.0 KB");
    expect(sizeToString(1024*10), "10.0 KB");
    expect(sizeToString(1024*102), "102.0 KB");
    expect(sizeToString(1024*103), "0.10 MB");
    expect(sizeToString(1024*1024), "1.0 MB");
    expect(sizeToString(1024*1024*10), "10.0 MB");<commit_msg>Last update before moving day<commit_after>library somePackage;
import 'package:unittest/unittest.dart';
import 'package:unittest/html_config.dart';
import 'package:part/core.dart';

void main() {
  useHtmlConfiguration();
  test('parseNumber', () {
    expect(123,parseNumber("123px"));
    expect(123,parseNumber("123"));
    expect(123,parseNumber("123asd"));
    expect(123,parseNumber(" 1asd23asd"));
  });
  test('linearAnimationFunction', (){
    expect(0, linearAnimationFunction(0,0,100));
    expect(25, linearAnimationFunction(0.25,0,100));
    expect(50, linearAnimationFunction(0.5,0,100));
    expect(75, linearAnimationFunction(0.75,0,100));
    expect(100, linearAnimationFunction(1,0,100));
  });

  test('sizeToString', (){
    expect(sizeToString(0), "0 B");
    expect(sizeToString(10), "10 B");
    expect(sizeToString(102), "102 B");
    expect(sizeToString(103), "0.10 KB");
    expect(sizeToString(1024), "1.0 KB");
    expect(sizeToString(1024*10), "10.0 KB");
    expect(sizeToString(1024*102), "102.0 KB");
    expect(sizeToString(1024*103), "0.10 MB");
    expect(sizeToString(1024*1024), "1.0 MB");
    expect(sizeToString(1024*1024*10), "10.0 MB");
{'fraction_non_alphanumeric': 0.19019189765458422, 'fraction_numerical': 0.12025586353944563, 'mean_word_length': 5.760806916426513, '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': '3840546', 'n_tokens_mistral': 957, 'n_tokens_neox': 792, 'n_words': 121}