Re: Unit-testing in same file

new topic     » goto parent     » topic index » view thread      » older message » newer message
SnakeCharmer said...

My first attempt to use unit-testing. What's wrong?

IsHappy() needs to be declared as either public or export (or global, from pre-4.0) so that it becomes visible outside the scope of happy.e.

happy.e

include misc.e 
public function IsHappy(integer x) 

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu