-
-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bob: Add test cases #1753
Bob: Add test cases #1753
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,16 @@ | |
}, | ||
"expected": "Whoa, chill out!" | ||
}, | ||
{ | ||
"uuid": "c10699d2-7a89-40c8-9cd3-ed277fe1c14a", | ||
"description": "shouting multilingual gibberish", | ||
"scenarios": ["unicode"], | ||
"property": "response", | ||
"input": { | ||
"heyBob": "FCÄEÜCÖDFCẞAB" | ||
}, | ||
"expected": "Whoa, chill out!" | ||
}, | ||
{ | ||
"uuid": "8a2e771d-d6f1-4e3f-b6c6-b41495556e37", | ||
"description": "asking a question", | ||
|
@@ -37,6 +47,16 @@ | |
}, | ||
"expected": "Sure." | ||
}, | ||
{ | ||
"uuid": "cd4b490b-b78a-4eac-beeb-70fd99353b1b", | ||
"description": "asking a question in German", | ||
"scenarios": ["unicode"], | ||
"property": "response", | ||
"input": { | ||
"heyBob": "Hä?" | ||
}, | ||
"expected": "Sure." | ||
}, | ||
{ | ||
"uuid": "81080c62-4e4d-4066-b30a-48d8d76920d9", | ||
"description": "asking a numeric question", | ||
|
@@ -73,6 +93,16 @@ | |
}, | ||
"expected": "Whatever." | ||
}, | ||
{ | ||
"uuid": "98cc5157-4346-4ce1-8a0d-6833574337a1", | ||
"description": "using acronyms in regular German speech", | ||
"scenarios": ["unicode"], | ||
"property": "response", | ||
"input": { | ||
"heyBob": "Es ist okay, wenn du nicht für den BND arbeiten möchtest." | ||
}, | ||
"expected": "Whatever." | ||
}, | ||
{ | ||
"uuid": "a5193c61-4a92-4f68-93e2-f554eb385ec6", | ||
"description": "forceful question", | ||
|
@@ -82,6 +112,25 @@ | |
}, | ||
"expected": "Calm down, I know what I'm doing!" | ||
}, | ||
{ | ||
"uuid": "7cb1a4f2-2a01-4972-b306-f995c94530b8", | ||
"description": "forceful question in German", | ||
"scenarios": ["unicode"], | ||
"property": "response", | ||
"input": { | ||
"heyBob": "WAS ZUR HÖLLE GEHT HIER VOR?" | ||
}, | ||
"expected": "Calm down, I know what I'm doing!" | ||
}, | ||
{ | ||
"uuid": "e90bb162-bbfd-438c-820f-a6b09f5cdf99", | ||
"description": "Bob in Vienna", | ||
"property": "response", | ||
"input": { | ||
"heyBob": "OIDA?" | ||
}, | ||
"expected": "Calm down, I know what I'm doing!" | ||
}, | ||
{ | ||
"uuid": "a20e0c54-2224-4dde-8b10-bd2cdd4f61bc", | ||
"description": "shouting numbers", | ||
|
@@ -127,6 +176,15 @@ | |
}, | ||
"expected": "Whoa, chill out!" | ||
}, | ||
{ | ||
"uuid": "2a6431bd-43e3-495d-9fff-8834a387329a", | ||
"description": "Bob in Vienna", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't tell me what is actually being tested in this test. |
||
"property": "response", | ||
"input": { | ||
"heyBob": "OIDA!" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's stick to English for non-unicode examples. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? Can you tell me an equivalent phrase/word in English then? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because Exercism's exercises are written in English. Once we cross the mutlilingual bridge, we might consider how this changes, but for now, they're in English.
No, because I don't know what the word means, but I can refer you to the first google result: |
||
}, | ||
"expected": "Whoa, chill out!" | ||
}, | ||
{ | ||
"uuid": "aa8097cc-c548-4951-8856-14a404dd236a", | ||
"description": "statement containing question mark", | ||
|
@@ -208,6 +266,15 @@ | |
}, | ||
"expected": "Sure." | ||
}, | ||
{ | ||
"uuid": "452ac3a1-daf2-473f-9ace-3de3a41dbdf8", | ||
"description": "Bob in Vienna", | ||
"property": "response", | ||
"input": { | ||
"heyBob": "Oida?" | ||
}, | ||
"expected": "Sure." | ||
}, | ||
{ | ||
"uuid": "72bd5ad3-9b2f-4931-a988-dce1f5771de2", | ||
"description": "other whitespace", | ||
|
@@ -225,6 +292,15 @@ | |
"heyBob": "This is a statement ending with whitespace " | ||
}, | ||
"expected": "Whatever." | ||
}, | ||
{ | ||
"uuid": "16f43a00-acbe-4e36-a323-d7f48d9f29c0", | ||
"description": "Bob in Vienna", | ||
"property": "response", | ||
"input": { | ||
"heyBob": "Oida." | ||
}, | ||
"expected": "Whatever." | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear in GitHub's fonts, but this is an uppercase ẞ, not a lowercase ß.