Unit Tests
- Fixed a series of bugs to improve the test suite results.
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user