1. eutest?

So how do I actually use eutest? The documentation on the manual page makes some assumptions about me that are incorrect. I can see what makes for a minimal test but what about an example or two?

Bruce

new topic     » topic index » view message » categorize

2. Re: eutest?

Okay, answering my own question again.

include std/unittest.e 
include std/text.e as seq 
 
test_equal("trim_head() default", "John", trim_head(" \r\n\t John")) 
 
test_report() 
new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu