<commit_before>var baseDir= require('./basedir');
var convertToUSDistance = require(baseDir + 'convertToUSDistance');

var assert = require('chai').assert;

describe('convertToUSDistance', function(){

    it("1 meter should equal 3.28 feet", function(){
        assert.equal(3.28, convertToUSDistance(1).num);
        assert.equal('ft',convertToUSDistance(1).unit);
    });

    // it("1001 ft (305.1048m) should return .19 mile", function(){
    //     assert.equal(.19, convertToUSDistance(305.1048).num);
    //     assert.equal('mi', convertToUSDistance(305.1048).unit);
    // });

    // it("1000 ft (304.8m) should return 1000 ft", function(){
    //     assert.equal(1000, convertToUSDistance(304.8).num);
    //     assert.equal('ft', convertToUSDistance(304.8).unit);
    // });

})

<commit_msg>convertTest test 9<commit_after>var baseDir= require('./basedir');
var convertToUSDistance = require(baseDir + 'convertToUSDistance');

var assert = require('chai').assert;

describe('convertToUSDistance', function(){

    it("1 meter should equal 3.28 feet", function(){
        assert.equal(3.28, convertToUSDistance(1).num);
        assert.equal('ft',convertToUSDistance(1).unit);
    });

    it("1001 ft (305.1048m) should return .19 mile", function(){
        assert.equal(.19, convertToUSDistance(305.1048).num);
        assert.equal('mi', convertToUSDistance(305.1048).unit);
    });

    // it("1000 ft (304.8m) should return 1000 ft", function(){
    //     assert.equal(1000, convertToUSDistance(304.8).num);
    //     assert.equal('ft', convertToUSDistance(304.8).unit);
    // });

})


{'fraction_non_alphanumeric': 0.179215930304916, 'fraction_numerical': 0.0777846919726198, 'mean_word_length': 3.555240793201133, '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': '340756', 'n_tokens_mistral': 587, 'n_tokens_neox': 502, 'n_words': 94}