int main()
{
	TeamBuilder lala;

	vector<string> input;
	input.push_back("0110000");
	input.push_back("1000100");
	input.push_back("0000001");
	input.push_back("0010000");
	input.push_back("0110000");
	input.push_back("1000010");
	input.push_back("0001000");

	lala.specialLocations(input);

}
Beispiel #2
0
void TEST(vector<string> paths, vector<int> expected)
{
	clock_t start, end;
	double cpu_time_used;

	start = clock();
	TeamBuilder teamBuilder;

	vector<int> result = teamBuilder.specialLocations(paths);
	
	assert( result.size() == expected.size() &&
			std::equal(result.begin(), result.end(),
			expected.begin()) );

	end = clock();
	cpu_time_used = ((double) (end - start));
	cout<<"Time taken : "<<cpu_time_used<<endl;
}