Ad
  • Custom User Avatar

    There are two important tests missing:

    Test.expect generateHashtag("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco") == false, "Word with more than 140 characters with and without spacing"

    Test.expect generateHashtag("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam") == "#LoremIpsumDolorSitAmet,ConsecteturAdipiscingElit,SedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua.UtEnimAdMinimVeniam", "Word with more than 140 characters with spacing, but less than 140 characters without spacing"