jGleitz / JUnit-KIT

Tests for the Tasks of the Programming Lecture for first semesters at the Karlsruhe Institute for Technology, winter semester 14/15. Among the tests themselves, this repository contains helpfull classes for testing unknown implementations.
GNU General Public License v2.0
7 stars 7 forks source link

Leading zeros #165

Closed RomanLangrehr closed 9 years ago

RomanLangrehr commented 9 years ago

I think leading zeros are allowed in

jGleitz commented 9 years ago

This is very close to #164! It highly depends whether they're talking about symbols or numbers.

pcworld commented 9 years ago

This is very close to #164! It highly depends whether they're talking about symbols or numbers

I guess leading zeros is only an issue for the rules= command, as they possibly define a set of symbols there. (Which makes me rather uncertain whether move +1 really is an error, if move 01 was allowed…)

jGleitz commented 9 years ago

If move 01 is allowed, you can't really argue to permit move +1, I think. Same for speedup and rule.

jGleitz commented 9 years ago

See Führende Nullen und + on KIT-ILIAS.

pcworld commented 9 years ago

As per the response, this won't be tested by Praktomat, so we shouldn't include it in our tests.