Are there any special tests (test data) I should run against my code if I've written a Base58Checked encoder/decoder?
closed as off topic by cdecker, Dr.Haribo, eMansipater, Stéphane Gimenez, David Perry Mar 19 '13 at 20:59
Questions on Bitcoin Stack Exchange are expected to relate to Bitcoin within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
I'm using BigInteger in .NET so these tests are unique to this scenario but may be adapted to Java or other languages.
The tests I've found helpful is when translating to or from hexadecimal at any intermediate step make sure the data is correct when:
Often times this may cause two's compliment errors depending on the implementation of BigInteger that is being used.
I'll run my own version of vanity gen to generate addresses that have these errors and will post them here.