csci2041/repo-zhan4854/Lab_02_Assessment.md
Michael Zhang 399845160c
f
2018-01-29 17:35:31 -06:00

54 lines
1.1 KiB
Markdown

### Assessment for Lab 02
#### Total score: _50_ / _50_
Run on February 10, 11:23:11 AM.
+ Pass: Change into directory "Lab_02".
+ Pass: Check that file "lab_02.ml" exists.
+ _5_ / _5_ : 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.
+ _5_ / _5_ : Pass: Check that the result of evaluating `circle_area_v1 2.5` matches the pattern `4.90`.
+ _5_ / _5_ : Pass: Check that the result of evaluating `circle_area_v2 2.5` matches the pattern `4.90`.
+ _10_ / _10_ : Pass: Check that the result of evaluating `product [2; 3; 4]` matches the pattern `24`.
+ _15_ / _15_ : Pass: Check that the result of evaluating `sum_diffs [4; 5; 2]` matches the pattern `2`.
+ _5_ / _5_ : Pass: Check that the result of evaluating `distance (1.2, 3.4) (4.5, 5.6)` matches the pattern `3.9`.
+ _5_ / _5_ : 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`.
#### Total score: _50_ / _50_