-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8fd339
commit fda0b82
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@require: test/test | ||
@require: test/expect | ||
|
||
@import: ../src/color-ext | ||
|
||
let color-test-cases = open Test in | ||
describe `Color module` [ | ||
it `parse hex notation successfully` (fun () -> ( | ||
let _ = Color.of-css `#F5F5DC` in | ||
Expect.always-pass | ||
)); | ||
it `parse names successfully` (fun () -> ( | ||
let _ =Color.of-css `beige` in | ||
Expect.always-pass | ||
)); | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters