Especially since I often am testing bitstrings for instruction decoding, that often look a lot like integers.
Test::Unit::Assert - search.cpan.org: "assert_equals"
# Or, if you don't mind us guessing $self->assert_equals('expected', $actual [, $optional_message]);
I am just bitching, but I begin to feel that
assert_equalsshould be
assert_string_equalsby default, not the less exact
assert_num_equals- since the worst that can happen is that a test fails, and you can quickly fix it.
Versus falsely passing a test - bad.
---
I know, I am (probably) not using the best Perl test or assert package.
So many choices! :-(