[HUnit-users] assertNotEqual versus ~?
Status: Beta
Brought to you by:
dherington
|
From: Shae M. E. <sh...@Sc...> - 2003-01-26 16:44:01
|
Hi, I'm trying to unit test some Parsec code. I found a case where I want to assertNotEqual, here it is: "quoted string1" ~: (Right "abc") ~=? (test_run quoted_string "\"abc\""), "quoted string2" ~: ((Right "abc") /= (test_run quoted_string "\"abc\r\n\"")) ~? "this should not happen" I'm not sure I'm using ~? correctly. If that's the best way to specify assertNotEqual, then I'd like to request something like ~/=? Am I just confused? Would anyone else find ~/=? useful? thanks, -- Shae Matijs Erisson - 2 days older than RFC0226 #haskell on irc.freenode.net - We Put the Funk in Funktion |