Examples:
| input | output |
| " Here: http://wikipedia.ru
" | " Here: http://wikipedia.ru
" |
| "http://mudasobwa.ru/i/self.jpg With caption Wiki
" | "http://mudasobwa.ru/i/self.jpg With caption Wiki
" |
Scenario Outline: Language recognition
Given the input string is
When input string language is determined
Then the language should equal to
Examples:
| input | output |
| " Here: http://wikipedia.ru
" | "us" |
| " Здесь: http://wikipedia.ru
" | "ru" |
Scenario Outline: Language punctuation
Given the input string is
When input string is processed with Typogrowl’s typography parser
Then the call to string’s typo should equal to
Examples:
| input | output |
| "Here 'you' go." | "Here “you” go." |
| "Тут 'русский' язык." | "Тут «русский» язык." |
Scenario Outline: Section pick-up
Given the input string is
When input string is processed with Typogrowl’s typography parser with section "quotes"
Then the typoed result should equal to
Examples:
| input | output |
| "Here 'you' - go." | "Here “you” - go." |
| "Тут 'русский' --- язык." | "Тут «русский» --- язык." |
Scenario Outline: Predefined shadows
Given the input string is
When input string is processed with Typogrowl’s typography parser
Then the typoed result should equal to
Examples:
| input | output |
| "This is λsystem.dllλ file." | "This is λsystem.dllλ file." |
| "This is ✓8:35✓ time." | "This is ✓8:35✓ time." |
Scenario: Inplace tags
Given the input string is
"""
http://qipowl.herokuapp.com/images/owl.png
☞ Video embedded:
http://www.youtube.com/watch?v=KFKxlYNfT_o
"""
When input string is processed with Typogrowl’s typography parser
Then the typoed result should equal to
"""
http://qipowl.herokuapp.com/images/owl.png
☞ Video embedded:
http://www.youtube.com/watch?v=KFKxlYNfT_o
"""