tests.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. [
  2. {
  3. "input": "follow step-by-step instructions",
  4. "expect": "Follow Step-by-Step Instructions"
  5. },
  6. {
  7. "input": "this sub-phrase is nice",
  8. "expect": "This Sub-Phrase Is Nice"
  9. },
  10. {
  11. "input": "catchy title: a subtitle",
  12. "expect": "Catchy Title: A Subtitle"
  13. },
  14. {
  15. "input": "catchy title: \"a quoted subtitle\"",
  16. "expect": "Catchy Title: \"A Quoted Subtitle\""
  17. },
  18. {
  19. "input": "catchy title: “‘a twice quoted subtitle’”",
  20. "expect": "Catchy Title: “‘A Twice Quoted Subtitle’”"
  21. },
  22. {
  23. "input": "\"a title inside double quotes\"",
  24. "expect": "\"A Title Inside Double Quotes\""
  25. },
  26. {
  27. "input": "all words capitalized",
  28. "expect": "All Words Capitalized"
  29. },
  30. {
  31. "input": "small words are for by and of lowercase",
  32. "expect": "Small Words Are for by and of Lowercase"
  33. },
  34. {
  35. "input": "a small word starts",
  36. "expect": "A Small Word Starts"
  37. },
  38. {
  39. "input": "a small word it ends on",
  40. "expect": "A Small Word It Ends On"
  41. },
  42. {
  43. "input": "do questions work?",
  44. "expect": "Do Questions Work?"
  45. },
  46. {
  47. "input": "multiple sentences. more than one.",
  48. "expect": "Multiple Sentences. More Than One."
  49. },
  50. {
  51. "input": "Ends with small word of",
  52. "expect": "Ends With Small Word Of"
  53. },
  54. {
  55. "input": "double quoted \"inner\" word",
  56. "expect": "Double Quoted \"Inner\" Word"
  57. },
  58. {
  59. "input": "single quoted 'inner' word",
  60. "expect": "Single Quoted 'Inner' Word"
  61. },
  62. {
  63. "input": "fancy double quoted “inner” word",
  64. "expect": "Fancy Double Quoted “Inner” Word"
  65. },
  66. {
  67. "input": "fancy single quoted ‘inner’ word",
  68. "expect": "Fancy Single Quoted ‘Inner’ Word"
  69. },
  70. {
  71. "input": "this vs. that",
  72. "expect": "This vs. That"
  73. },
  74. {
  75. "input": "this vs that",
  76. "expect": "This vs That"
  77. },
  78. {
  79. "input": "this v. that",
  80. "expect": "This v. That"
  81. },
  82. {
  83. "input": "this v that",
  84. "expect": "This v That"
  85. },
  86. {
  87. "input": "address email@example.com titles",
  88. "expect": "Address email@example.com Titles"
  89. },
  90. {
  91. "input": "pass camelCase through",
  92. "expect": "Pass camelCase Through"
  93. },
  94. {
  95. "input": "don't break",
  96. "expect": "Don't Break"
  97. },
  98. {
  99. "input": "catchy title: substance subtitle",
  100. "expect": "Catchy Title: Substance Subtitle"
  101. },
  102. {
  103. "input": "we keep NASA capitalized",
  104. "expect": "We Keep NASA Capitalized"
  105. },
  106. {
  107. "input": "leave Q&A unscathed",
  108. "expect": "Leave Q&A Unscathed"
  109. },
  110. {
  111. "input": "Scott Moritz and TheStreet.com’s million iPhone la-la land",
  112. "expect": "Scott Moritz and TheStreet.com’s Million iPhone La-La Land"
  113. },
  114. {
  115. "input": "you have a http://example.com/foo/ title",
  116. "expect": "You Have a http://example.com/foo/ Title"
  117. },
  118. {
  119. "input": "your hair[cut] looks (nice)",
  120. "expect": "Your Hair[cut] Looks (Nice)"
  121. },
  122. {
  123. "input": "keep that colo(u)r",
  124. "expect": "Keep That Colo(u)r"
  125. },
  126. {
  127. "input": "have you read “The Lottery”?",
  128. "expect": "Have You Read “The Lottery”?"
  129. },
  130. {
  131. "input": "Read markdown_rules.txt to find out how _underscores around words_ will be interpreted",
  132. "expect": "Read markdown_rules.txt to Find Out How _Underscores Around Words_ Will Be Interpreted"
  133. },
  134. {
  135. "input": "Read markdown_rules.txt to find out how *asterisks around words* will be interpreted",
  136. "expect": "Read markdown_rules.txt to Find Out How *Asterisks Around Words* Will Be Interpreted"
  137. },
  138. {
  139. "input": "Notes and observations regarding Apple’s announcements from ‘The Beat Goes On’ special event",
  140. "expect": "Notes and Observations Regarding Apple’s Announcements From ‘The Beat Goes On’ Special Event"
  141. },
  142. {
  143. "input": "Drink this piña colada while you listen to ænima",
  144. "expect": "Drink This Piña Colada While You Listen to Ænima"
  145. },
  146. {
  147. "input": "capitalize hyphenated words on-demand",
  148. "expect": "Capitalize Hyphenated Words On-Demand"
  149. },
  150. {
  151. "input": "take them on: special lower cases",
  152. "expect": "Take Them On: Special Lower Cases"
  153. }
  154. ]