diff options
-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" |