On Mar 15, 10:02 pm, Jeff Wheeler <[email protected]> wrote:
> On Tue, Mar 15, 2011 at 11:57 PM, Issac <[email protected]> wrote:
> > main :: Config -> Maybe Editor -> IO ()
> > main cfg state = do
> > args <- getArgs
> > #ifdef TESTING
> > when ("--self-check" `elem` args)
> > TestSuite.main
> > #endif
>
> I saw that too, but I'm not actually sure what that does. What is
> TestSuite? I don't know what TestSuite.main does.
Apparently it does nothing. Here is the list of tests in tests/
TestSuite.hs,
tests :: [(String, Int -> IO (Bool, Int))]
tests =
[ -- Format like this in the future, but no tests are applicable
here:
-- ("WindowSet prop_traversable" , mytest (prop_traversable ::
WindowSet Int -> (Int -> Int) -> Bool))
]
>
> --
> Jeff Wheeler
>
> Undergraduate, Electrical Engineering
> University of Illinois at Urbana-Champaign
--
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel