diff --git a/correctness.md b/correctness.md new file mode 100644 index 0000000..8d65096 --- /dev/null +++ b/correctness.md @@ -0,0 +1,67 @@ +====== PUT REQUEST ====== + +- addActor + - 200 OK + - 400 BAD REQUEST + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 3/3 + +- addMovie + - 200 OK + - 400 BAD REQUEST + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 3/3 + +- addRelationship + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +====== GET REQUEST ====== + +- getMovie + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +- getActor + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +- hasRelationship + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +- computeBaconNumber + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +- computeBaconPath + - 200 OK + - 400 BAD REQUEST + - 404 NOT FOUND + - 500 INTERNAL SERVER ERROR + One mark for correctly handle one case + - 4/4 + +30 / 30 \ No newline at end of file