You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The string argument after `CWTest` is an optional message.
26
+
27
+
-`CWGroup string`
28
+
29
+
Begins a group of tests.
30
+
31
+
-`CWEndGroup`
32
+
33
+
Ends a group of tests.
34
+
35
+
-`CWFile string? Size < int`
36
+
37
+
Tests if the size of a file (the first string argument) is less than the second argument.
38
+
39
+
The file name is optional. The default file is the solution file.
40
+
41
+
-`CWFile string? Matches string`
42
+
43
+
Tests if the content of a file matches a regular expression (the second argument). The regular expression syntax is [OCaml Str](https://caml.inria.fr/pub/docs/manual-ocaml/libref/Str.html) (`\` should not be escaped).
25
44
26
-
The string argument after `CWTest` (`msg`) is optional.
45
+
-`CWFile string? Does Not Match string`
27
46
28
-
Two other commands are `CWGroup msg` and `CWEndGroup`.
47
+
Tests if the content of a file does not match a regular expression (the second argument).
0 commit comments