format everything with hindent
[packages/time.git] / test / main / Main.hs
1 module Main where
2
3 import Test.Calendar.AddDays
4 import Test.Calendar.Calendars
5 import Test.Calendar.ClipDates
6 import Test.Calendar.ConvertBack
7 import Test.Calendar.Duration
8 import Test.Calendar.Easter
9 import Test.Calendar.LongWeekYears
10 import Test.Calendar.MonthDay
11 import Test.Calendar.Valid
12 import Test.Calendar.Week
13 import Test.Clock.Conversion
14 import Test.Clock.Resolution
15 import Test.Clock.TAI
16 import Test.Format.Format
17 import Test.Format.ISO8601
18 import Test.Format.ParseTime
19 import Test.LocalTime.CalendarDiffTime
20 import Test.LocalTime.Time
21 import Test.LocalTime.TimeOfDay
22 import Test.Tasty
23
24 tests :: TestTree
25 tests =
26 testGroup
27 "Time"
28 [ testGroup
29 "Calendar"
30 [ addDaysTest
31 , testCalendars
32 , clipDates
33 , convertBack
34 , longWeekYears
35 , testMonthDay
36 , testEaster
37 , testValid
38 , testWeek
39 , testDuration
40 ]
41 , testGroup "Clock" [testClockConversion, testResolutions, testTAI]
42 , testGroup "Format" [testFormat, testParseTime, testISO8601]
43 , testGroup "LocalTime" [testTime, testTimeOfDay, testCalendarDiffTime]
44 ]
45
46 main :: IO ()
47 main = defaultMain tests