
/* The original design assumed that the class would always be loaded from file, this makes no allowance for a test setup allowing the relationships to be tested.  

To do this we need to add a method to SSNSFile to setup some test arrays of a given size (a job which will be undertaken by the file parser once it reads the pattern count from file. We also need to call this before testing the association relationship (adding input and output patterns) in our test harness. 
*/

//Put this in the class header SSNSFile.h

void setupForTesting(int patternCount);


//Put this in the CPP File

void SSNSFile::setupForTesting(int patternCount)
{
	inputPatterns = new InputPattern*[patternCount];
	inputPatterns = new InputPattern*[patternCount];
	
	this->patternCount = patternCount;

	this->setLoadedFlagTrue();
}
