factor/extra/zoneinfo/zoneinfo-tests.factor

18 lines
382 B
Factor
Raw Permalink Normal View History

2013-04-27 16:44:59 -04:00
! Copyright (C) 2013 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel sequences tools.test zoneinfo ;
2013-04-27 16:44:59 -04:00
{ t } [ "PST8PDT" find-zone-rules and >boolean ] unit-test
{
T{ raw-zone
{ name "EST" }
{ gmt-offset "-5:00" }
{ rules/save "-" }
{ format "EST" }
{ until { } }
}
} [
"EST" find-zone
] unit-test