So i trying this:
dmd -unittest mymodule.d And getting error: "undefined reference to `main'" But i don't want to run 'main' here, just unit test please.Any idea how to test single module without putting 'main' in every module ?
So i trying this:
dmd -unittest mymodule.d And getting error: "undefined reference to `main'" But i don't want to run 'main' here, just unit test please.Any idea how to test single module without putting 'main' in every module ?