diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-05-29 19:57:41 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-05-29 19:57:41 +0300 |
commit | d1ac545b0b89ec93ce2e4308aa53e88bd06a9395 (patch) | |
tree | d6916503ad103b705a711d55ba2530d82f501f9d | |
parent | 8466e748a92eb6898156b5ac0dd03dce5c389a1d (diff) | |
download | oso-work-sample-d1ac545b0b89ec93ce2e4308aa53e88bd06a9395.tar.gz |
tests: add scenario for list of two identical elements
Sponsored-by: author
-rw-r--r-- | README.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -164,7 +164,9 @@ one it has found so far. empty list of integers, because there messages as given do no indicate a way to signal a result of "no result". -# Find max of a list of one +# Acceptance criteria + +## Find max of a list of one This scenario verifies that the server finds the maximum integer in a list of one. @@ -175,6 +177,20 @@ when I run max-client.py 1 then answer is 0 ~~~ +## Find max of a list of two + +These scenarios verify that the server finds the maximum integer in a +list of two. There is a separate scenario for every possible list of +two elements. + +### List of two identical numbers + +~~~scenario +given server +when I run max-client.py 5 5 +then answer is 0 +~~~ + --- title: "OSO work sample—MAX" |