open OUnit2 open Basics open QCheck (* Each function you see below is a property for a function that we would like to test. The…
open OUnit2 open Disc3 let test_concat _ = assert_equal “abc” (concat “ab” “c”); assert_equal “d” (concat “” “d”) let test_add_to_float _ = assert_equal 6.0 (add_to_float…
description = “” version = “1.0.0” archive(byte) = “sets.cma”
OCAML_VERSION=$(ocaml –version | rev | cut -d’ ‘ -f 1 | rev) if [ $OCAML_VERSION = ‘4.11.0’ ] ; then export OCAMLPATH=dep else echo ‘You…
#include “test_common.h” #define TEST_REF_DIR “tests/rsrc” #define TEST_OUTPUT_DIR “tests.out” /* * Tests the basic program operation. */ Test(base_suite, quick_test) { char *name = “quick”; sprintf(program_options, “rsrc/algebric.ntn”);…
.” @(#)notation.n 3.9 (C) Henry Thomas Release 3 Dated 12/10/91 .TH notation n “10 December 1990” .SH NAME notation – transform chess notation .SH SYNOPSYS…
{ “folders”: [ { “path”:”.”, “name”:”Project Base” }, { “path”: “src”, “name”: “C Source”, “follow_symlinks”: false, “file_include_patterns”:[“*.c”, “*.l”], }, { “path”: “include”, “name”: “C Headers”,…
#include #include #include #include #define TEST_TIMEOUT 15 #define TEST_REF_DIR “tests/rsrc” #define TEST_OUTPUT_DIR “tests.out” extern int errors, warnings; extern char program_options[500]; extern char test_output_subdir[100]; extern char…
/* * DO NOT MODIFY THE CONTENTS OF THIS FILE. * IT WILL BE REPLACED DURING GRADING */ #include extern int notation_main(int argc, char *argv[]);…
comment shorthand english translation ———————————————— #define CHESSSYMB(LET,LASC,SASC,TEX,PS,ENG,FRA) LASC SASC ENG #include “chesssymb.def” #undef CHESSSYMB