<commit_before>using Dockery.Common;

private void register_unit_bytes_test() {

    Test.add_func("/Dockery/Common/Bytes#to_human_with_two_digits(MB)", () => {

        // Given
        var bytes = 1750000;
        // When
        var result = Unit.Bytes(bytes);
        // Then
        assert(result.to_human(2).to_string() == "1.75MB");
    });

    Test.add_func("/Dockery/Common/Bytes#to_human_with_two_digits(GB)", () => {

        // Given
        var bytes = 5050000000;
        // When
        var result = Unit.Bytes(bytes);
        stdout.printf("R %s", result.to_human(2).to_string());
        // Then
        assert(result.to_human(2).to_string()  == "5.05GB");
    });

    Test.add_func("/Dockery/Common/Bytes#to_human_with_no_digits(GB)", () => {

        // Given
        var bytes = 5800000000;
        // When
        var result = Unit.Bytes(bytes);
        // Then
        assert(result.to_human(0).to_string()  == "6GB");
    });        
}
<commit_msg>Remove stdout print<commit_after>using Dockery.Common;

private void register_unit_bytes_test() {

    Test.add_func("/Dockery/Common/Bytes#to_human_with_two_digits(MB)", () => {

        // Given
        var bytes = 1750000;
        // When
        var result = Unit.Bytes(bytes);
        // Then
        assert(result.to_human(2).to_string() == "1.75MB");
    });

    Test.add_func("/Dockery/Common/Bytes#to_human_with_two_digits(GB)", () => {

        // Given
        var bytes = 5050000000;
        // When
        var result = Unit.Bytes(bytes);
        // Then
        assert(result.to_human(2).to_string()  == "5.05GB");
    });

    Test.add_func("/Dockery/Common/Bytes#to_human_with_no_digits(GB)", () => {

        // Given
        var bytes = 5800000000;
        // When
        var result = Unit.Bytes(bytes);
        // Then
        assert(result.to_human(0).to_string()  == "6GB");
    });        
}

{'fraction_non_alphanumeric': 0.16199047114875595, 'fraction_numerical': 0.03970354685018528, 'mean_word_length': 2.0632090761750406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, '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': '4591137', 'n_tokens_mistral': 689, 'n_tokens_neox': 621, 'n_words': 87}