Popular recipes tagged "byt2str"http://code.activestate.com/recipes/tags/byt2str/2009-10-08T19:49:28-07:00ActiveState Code RecipesTest byt2str Module (Python) 2009-10-08T19:49:28-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/576926-test-byt2str-module/ <p style="color: grey"> Python recipe 576926 by <a href="/recipes/users/2608421/">Stephen Chappell</a> (<a href="/recipes/tags/byt2str/">byt2str</a>, <a href="/recipes/tags/testing/">testing</a>). Revision 2. </p> <p>To ensure that the "byt2str" module operates correctly, the following unit test has been devised. This recipe should ensure the correctness of the code and validate all corrections for accuracy when run. If you are not familiar with the "unittest" or "test" modules, this code may of be interest for the purpose of developing your own library validation suites. Testing code is important for providing a certain amount of assurance that the code being run is correct. If the code is changed incorrectly, a test like this should be able to detect a problem.</p>