var assert = require('nodeunit').assert;
var testCase = require('nodeunit').testCase;
assert.isVowel = function(letter, message) {
var vowels = [ 'a', 'e', 'i', 'o', 'u' ];
if (vowels.indexOf(letter) == -1) {
assert.fail(letter, vowels.toString(), message, 'is not in');
}
};
exports["Vowel"] = testCase({
"e should be a vowel": function(test) {
test.isVowel("e", 'It should be a vowel.');
test.done();
}
});