Rewrite the assignment test function from scratch.


Not sure an assignment test is needed at all, but it does not hurt either on the
other hand.

Change-Id: I937e8ce41421b457da438eb447b0422257efeb39
Reviewed-by: Thiago Augusto Correa <thiago.correa@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit2533aaee8ed67e60ad103ed3b832033c167d9ad8
parentdf202538e34319f5924997598e848c53c18b418c
authorLaszlo Papp <lpapp@kde.org>
committerLaszlo Papp <lpapp@kde.org>
commit timeFri, 1 Feb 2013 19:42:03 +0100