<commit_before>var assert = require("assert");

var test = function(){

}

exports.test = test;<commit_msg>beginnings of course test cases<commit_after>var assert = require("assert");
var course = require("../model/user.js")

var count = 0;

var testFailGetByID = course.get(-1, function(e){
	try {
		assert.equal(0, e.length)
		console.log("Passed invalid id test")
	}
	catch(err) {
		console.log(err);
	}
});

var testlGetByID = course.get(2, function(e){
	try {
		assert.equal(1, e.length)
		//TODO: confirm entry matches one in DB
		console.log("Passed real id test")
	}
	catch(err) {
		console.log(err);
	}
});

exports.test = test;
{'fraction_non_alphanumeric': 0.16483516483516483, 'fraction_numerical': 0.007849293563579277, 'mean_word_length': 4.145161290322581, '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': '766188', 'n_tokens_mistral': 242, 'n_tokens_neox': 232, 'n_words': 55}