When we grade your code, we will not use your test code -- any such code provided serves only as documentation. Instead, we will use our own test code that calls wmemcpy and exercise it. Your wmemcpy must follow the standard calling conventions.
As usual, the assignment will be graded 60 points for the code -- whether it works, coding style, and efficiency -- and 40 points on documentation -- comments, accompanying test code, etc. For this assignment, it is not necessary to provide test code if your comments suffice to convince us that it works; in real life, however, programming projects always include testing, and testing code is always generated and accompanies a product through its life-cycle. As an anecdotal data point, just the testing team for Windows NT is larger than the entire project group for Word.
bsy@cse.ucsd.edu, last updated