Add compare test with just times
This commit is contained in:
parent
8e69e5785b
commit
322daab8ff
1 changed files with 2 additions and 1 deletions
|
@ -563,7 +563,8 @@ compare_test(_) ->
|
|||
?_assertEqual(true, compare({{2013,9,10},{0,0,1}},'<',"Sep 10th, 2013 12:02am")),
|
||||
?_assertEqual(true, compare({{2013,9,10},{0,0,1}},'<',"Sep 10th, 2013 1am")),
|
||||
?_assertEqual(true, compare({{2013,9,9},{23,59,59}},'<',"Sep 10th, 2013 12am")),
|
||||
?_assertEqual(false, compare({{2013,9,9},{23,59,59}},'>',"Sep 10th, 2013 12am"))
|
||||
?_assertEqual(false, compare({{2013,9,9},{23,59,59}},'>',"Sep 10th, 2013 12am")),
|
||||
?_assertEqual(true, compare("11am EST",'==',"10am CST"))
|
||||
]}.
|
||||
|
||||
parser_format_test(_) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue