Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
e37f59f9
Commit
e37f59f9
authored
Nov 14, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
funclang series2: Added some more test for date2str.
parent
b47a5c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
funclang-taddeus/series2/ass5.ml
funclang-taddeus/series2/ass5.ml
+2
-0
No files found.
funclang-taddeus/series2/ass5.ml
View file @
e37f59f9
...
@@ -40,6 +40,8 @@ let test_date2str d m y expect =
...
@@ -40,6 +40,8 @@ let test_date2str d m y expect =
;;
;;
test_date2str
1
1
2010
"January 1st, 2010"
;;
test_date2str
1
1
2010
"January 1st, 2010"
;;
test_date2str
9
2
2010
"February 9th, 2010"
;;
test_date2str
9
2
2010
"February 9th, 2010"
;;
test_date2str
3
3
2011
"March 3rd, 2011"
;;
test_date2str
22
12
2012
"December 22nd, 2012"
;;
(* Sum all digits of a natural number *)
(* Sum all digits of a natural number *)
let
rec
sum_digits
n
=
let
rec
sum_digits
n
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment