From: Gavin Sinclair Date: 2004-11-14T07:25:45+09:00 Subject: Re: assert On Sunday, November 14, 2004, 8:08:24 AM, Florian wrote: > itsme213 wrote: >>>(called >>>assert, but I can't have that name anymore because of test/unit, I >>>suppose) >> >> Why? I think test/unit's assert only applies inside TestCases, where it is >> quite applicable and I would continue to use it. I'd use your assert >> anywhere else. > Hm, good point. But a potential overlap could still be a bit confusing > if somebody wants to use both of them in test cases. (That seems quite > unlikely, however) What do you think about using 'assume'? It's quite > similar, but still distinct enough not to confuse them with each other. It's not unlikely at all, actually. Test cases are a clearly a good way to set up the conditions you need to expose a bug. That's when I tend to use breakpoints very often. Gavin