[SOLVED] CS代考程序代写 {-

30 $

File Name: CS代考程序代写_{-.zip
File Size: 216.66 KB

SKU: 8754516643 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


{-
Module: Assertion.

Some useful functions to write tests (only for integers).
-}

module Util.Assertion where

import Test.HUnit

— Assertion that checks for equality with all smaller values.
assertLessThan :: String -> Int -> Int -> Assertion
assertLessThan s x y = assertBool s (x < y)– Assertion that checks for equality with all smaller or equal values.assertLessThanEq :: String -> Int -> Int -> Assertion
assertLessThanEq s x y = assertBool s (x <= y)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS代考程序代写 {-
30 $