Skip to content

Tony5897/TDD-Exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

// Business logic ------

Describe: pigLatin(input)

Test: "It will return an empty string." Code: pigLatin(""); Expected Output:""

Test: "It will return the first letter of the input." Code: pigLatin("word"); Expected Output: "w"

Test: "It will return true if the first letter is "a" and false if the first letter is not "a." Code: pigLatin("word"); Expected Output: false

Test: "It will return true if its a vowel." Code: pigLatin("oregon"); Expected Output: true

Test: "It will return either first rule, second rule or third rule to the console, depending on input word first letter." Code: pigLatin("oregon"); Expected: "our code for the first rule"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages