From d1ac545b0b89ec93ce2e4308aa53e88bd06a9395 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 29 May 2021 19:57:41 +0300 Subject: tests: add scenario for list of two identical elements Sponsored-by: author --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eeb0156..bcc43a9 100644 --- a/README.md +++ b/README.md @@ -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" -- cgit v1.2.1