<commit_before>import {SortUtil} from "../../../app/util/sort-util";

/**
 * @author <NAME>
 */
export function main() {

    fdescribe('SortUtil', () => {

        it('should sort strings alphanumerically', () => {

            expect(SortUtil.alnumCompare('abc','abd')).toEqual(-1);
            expect(SortUtil.alnumCompare('abd','abc')).toEqual(1);
            expect(SortUtil.alnumCompare('abc','abc')).toEqual(0);

            expect(SortUtil.alnumCompare('1','2')).toEqual(-1);
            expect(SortUtil.alnumCompare('2','1')).toEqual(1);
            expect(SortUtil.alnumCompare('1','1')).toEqual(0);

            expect(SortUtil.alnumCompare('2','10')).toEqual(-1);
            expect(SortUtil.alnumCompare('10','2')).toEqual(1);<commit_msg>remove fdescribe<commit_after>import {SortUtil} from "../../../app/util/sort-util";

/**
 * @author <NAME>
 */
export function main() {

    describe('SortUtil', () => {

        it('should sort strings alphanumerically', () => {

            expect(SortUtil.alnumCompare('abc','abd')).toEqual(-1);
            expect(SortUtil.alnumCompare('abd','abc')).toEqual(1);
            expect(SortUtil.alnumCompare('abc','abc')).toEqual(0);

            expect(SortUtil.alnumCompare('1','2')).toEqual(-1);
            expect(SortUtil.alnumCompare('2','1')).toEqual(1);
            expect(SortUtil.alnumCompare('1','1')).toEqual(0);

            expect(SortUtil.alnumCompare('2','10')).toEqual(-1);
            expect(SortUtil.alnumCompare('10','2')).toEqual(1);
{'fraction_non_alphanumeric': 0.21941489361702127, 'fraction_numerical': 0.026595744680851064, 'mean_word_length': 3.157458563535912, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '5090680', 'n_tokens_mistral': 462, 'n_tokens_neox': 479, 'n_words': 44}