CU-CIS-1090-PSC / CIS-1090-Project1

CIS-1090-Project1
0 stars 19 forks source link

Capitals and Proper Nouns in the Software #7 #20

Open rxt06130 opened 1 year ago

rxt06130 commented 1 year ago

Here's the functions that I've used that should make everything work but it's not. Words like Texas and Reilly are being marked misspelled when they're not.

describe("Spell Check add words Tests", function () { it("Finds the word Reilly after adding it", function () { assert.ok(!isSpelledRight("Reilly")); //Does not find the word addWord("Reilly"); assert.ok(isSpelledRight("Reilly")); //Does find the word });

it("Reports that Texas is spelled right", function () {
    assert.ok(isSpelledRight("Texas"));
});

});