Skip to content

Trendyol-Front-End-Bootcamp/week5-test-demo-hatice-demir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-demo

Case 1: There should be a 'divide' function which takes 2 paramaters.

  • Tests
    • It should make division correctly.
    • If one of the paramaters is not a number, throw "invalid input" error.
    • If the divisor is zero, throw "division by zero" error.

Case 2: A function which takes a string paramater and returns the pascal case of that string.(First letter of the each word should be uppercase)

  • Tests
    • It should convert given string to pascal case.
    • It should return empty string if empty input is given.
    • It should not convert conjunctions(and, or).

Case 3: A function which fetch the data from https://jsonplaceholder.typicode.com/posts and, returns the title of users who has the most post count.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published