Unit Tests

- Fixed a series of bugs to improve the test suite results.
This commit is contained in:
Paul Beckingham 2009-06-28 01:04:23 -04:00
parent f3d3126839
commit ce4f26bdf3
7 changed files with 32 additions and 22 deletions

View file

@ -69,7 +69,7 @@ bool Sequence::valid (const std::string& input) const
range.size () > 2)
return false;
if (range.size () == 1 && !validId (range[0]))
if (range.size () <= 2 && !validId (range[0]))
return false;
if (range.size () == 2 && !validId (range[1]))