Skip to content

slaypotato/AnagramChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnagramChecker

Small Javascript program for practicing TDD

To run use: npm run test

Tested Items

Anagram checker - basic functionality

  • return true if 2 words have the same word count
  • return false if one of the words have more letters
  • return false if one of the words have more letters
  • return false if the words have the same letters but different counts
  • ignore case of the words when comparing
  • ignore all whitespaces from 2 words

getLetterCount - basic functionality

  • returns an empty when passed an empty string
  • return the correct letter count for a word with on of each letter
  • return the correct letter count for words with more than one of the same letter

About

Small Javascript program for practicing TDD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages