From 8d36aa13173bc49975e178b8eb31e6b380ca54df Mon Sep 17 00:00:00 2001 From: estlop Date: Fri, 1 Jul 2022 13:33:27 +0100 Subject: [PATCH] Add more examples of tests as per review --- subjects/canyoucount/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/subjects/canyoucount/README.md b/subjects/canyoucount/README.md index dbc1962e3..53111adb3 100644 --- a/subjects/canyoucount/README.md +++ b/subjects/canyoucount/README.md @@ -2,11 +2,17 @@ ### Instructions -Your program will receive some arguments. Count how many characters they have in total and print them. +Your program will receive some arguments. Count how many characters they have in total and print them. If the number of arguments is not enough, print 0. ### Usage ```console $ go run . "hello" "how are you?" | cat -e -17 $ +17$ +$ go run . "a" | cat -e +1$ +$ go run . "I am" "myself." | cat -e +11$ +$ go run . | cat -e +0$ ```