zeromq/goczmq — pull request #7 by taotetek (2014-09-07 22:10:10+00:00)
Title: problem: options are not tested properly

* Tests are now generated for all int and string tests. "key" tests still need to be implemented

Note: Given the conditions which I believe to be true:
1) czmq functions assert on bad arguments
2) czmq functions are noops when used against a libzmq function that has not been enabled at compile time
3) the underlying zmq defines are not accessible in czmq

For now, the unit tests try to set the value for each option, read it back, and accept either the expected value or a 0 (in the case of ints) or an empty string.

There may be a better way to approach this, but for now this offers some coverage.