csci2041/repo-zhan4854/Lab_02_Feedback.md

51 lines
926 B
Markdown
Raw Permalink Normal View History

2018-01-29 23:35:31 +00:00
### Feedback for Lab 02
Run on January 24, 12:39:53 PM.
+ Pass: Change into directory "Lab_02".
+ Pass: Check that file "lab_02.ml" exists.
+ Pass: Check that an OCaml file "lab_02.ml" has no syntax or type errors.
OCaml file "lab_02.ml" has no syntax or type errors.
+ Pass: Check that the result of evaluating `circle_area_v1 2.5` matches the pattern `4.90`.
+ Pass: Check that the result of evaluating `circle_area_v2 2.5` matches the pattern `4.90`.
+ Pass: Check that the result of evaluating `product [2; 3; 4]` matches the pattern `24`.
+ Pass: Check that the result of evaluating `sum_diffs [4; 5; 2]` matches the pattern `2`.
+ Pass: Check that the result of evaluating `distance (1.2, 3.4) (4.5, 5.6)` matches the pattern `3.9`.
+ Pass: Check that the result of evaluating `triangle_perimeter (1.0, 2.0) (3.0, 4.0) (5.0, 1.0)` matches the pattern `10.55`.