Skip to content

SWK-DUS/wordwrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

word wrap kata

we worked on the word wrap kata

acceptance test (from Uncle Bob himself)

@Test
public void acceptanceTest() {
  assertWrapped(
    "Four score and seven years ago our fathers brought forth upon this continent",
    7,
    "Four\nscore\nand\nseven\nyears\nago our\nfathers\nbrought\nforth\nupon\nthis\ncontine\nnt");
}

About

we worked on the word wrap kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages