diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -154,10 +154,33 @@ This is very simple computation. Given the server can't assume the list is ordered, it has to compare all list elements to the largest one it has found so far. +# Assumptions + +* The server will abort if the client doesn't use the request id from + the latest server message. That is, the client and server do not + need to handle multiple outstanding comparison requests. + +* The server does not need to handle the case of the client having an + 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 + +This scenario verifies that the server finds the maximum integer in a +list of one. + +~~~scenario +given server +when I run client with list consisting of 1 +then answer is 0 +~~~ + --- title: "OSO work sample—MAX" author: Lars Wirzenius classes: - json +bindings: +- oso.yaml ... |