#include #include "testlib.h" using namespace std; int main() { registerValidation(); string abc = inf.readToken(format("[0-9]{3, 3}")); inf.readEoln(); inf.readEof(); assert(abc[0] != abc[1]); assert(abc[1] != abc[2]); assert(abc[2] != abc[0]); return 0; }