<commit_before>var imgOptimizer = require('../lib/hal-image-optimizer.js');
var fs = require("fs");


exports.imgOptimizer = function(test) {
		test.expect(0);
		
		//var value = imgOptimizer('./test/images');
		//test.strictEqual(value, false, "Image folder not found");
		
		// Compare source file and thumbnail count
        // 23.10.14/HAl: For some reason .execFile command is not working with unit testing (in easyimage.js)
		//var value2 = imgOptimizer('./test/test_images');
		//var imgFiles = fs.readdirSync('./test/test_images');
		//var thumbFiles = fs.readdirSync('./test/test_images/thumbnails');
		//test.equal(imgFiles.length-1, thumbFiles.length, "Thumbnails created OK."); // Excluding thumbnails folder
		<commit_msg>Two unit test cases added to see how Coveralls.io works.<commit_after>var imgOptimizer = require('../lib/hal-image-optimizer.js');
var fs = require("fs");


exports.imgOptimizer = function(test) {
		test.expect(2);
		
		var value1 = imgOptimizer('./test/images');
		test.strictEqual(value1, false, "Image folder not found");
		
		var value2 = imgOptimizer('images');
		test.strictEqual(value2, false, "Image folder not found");

		// Compare source file and thumbnail count
        // 23.10.14/HAl: For some reason .execFile command is not working with unit testing (in easyimage.js)
		//var value2 = imgOptimizer('./test/test_images');
		//var imgFiles = fs.readdirSync('./test/test_images');
		//var thumbFiles = fs.readdirSync('./test/test_images/thumbnails');
		//test.equal(imgFiles.length-1, thumbFiles.length, "Thumbnails created OK."); // Excluding thumbnails folder
		
{'fraction_non_alphanumeric': 0.1513647642679901, 'fraction_numerical': 0.013647642679900745, 'mean_word_length': 3.8878787878787877, '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': '2741907', 'n_tokens_mistral': 549, 'n_tokens_neox': 500, 'n_words': 128}