taqi/MonkeyCoder — Issue #4: SetCodeSnippet bugs.
Author: taqi
Created: 2012-01-21 00:23:43+00:00
State: open

As you know, in our system there are two subtypes of CodeSnippet type.
ListCodeSnippet and SetCodeSnippet.
First has order and duplication.
second one has no orders.

Thats why we have ghost-failed tests. At one time we guessed order, in another time - no.
So, we need to come up with idea about SetCodeSnippet subtypes testing.
My proposition is to create some Util class, that would collect lines of code, and also wrap it to the set, then you will set your result there, and after that, it will check if one collection contains all parts from another, and in the back order too.
But, the bad point here is that you can't check result code - you need to wrap answer too.
So, the task is - come up with ideas about Set code Snippet testing.