X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test;fp=test;h=646cdcabc0654af15ecbe90b1d5870c7e9846b29;hb=d77b8410640b3b6279999a064945c5c8c1d54a05;hp=fcb556c5baa4e11c1ed1ab3eeaf216bb54c3f1da;hpb=3dae3833cb5247943e27649a9b16639c2187c8c5;p=lmno-server diff --git a/test b/test index fcb556c..646cdca 100755 --- a/test +++ b/test @@ -856,6 +856,16 @@ result=$(echo $(empathy_scores alice)) test "$result" = "null" TEST_END +TEST "Submit word groups from a non-answering player" +result=$(empathy_judged dale $prompt_id '[]') +test "$result" = '{"valid":true}' +TEST_END + +TEST "Scoring still hasn't started" +result=$(echo $(empathy_scores alice)) +test "$result" = "null" +TEST_END + TEST "Submit word groups from last answering player" result=$(empathy_judged charlie $prompt_id '[]') test "$result" = '{"valid":true}'