#include "EightPuzzle.h"

using namespace std;

int main() {

	// DFS: 1 2 4; BFS: 1 4 8; Best: 1 2 4
	//int start [9] = {2, 8, 3, 1, 6, 4, 7, 0, 5};
	//int goal  [9] = {2, 8, 3, 1, 6, 4, 7, 5, 0};

	int start [9] = {2, 8, 3, 1, 6, 4, 7, 5, 0};
	int goal  [9] = {1, 2, 3, 8, 0, 4, 7, 6, 5};

	//EightPuzzle test = EightPuzzle(start, goal);
	//test.solve("bfs");

	vector<int*> test2;
	test2.push_back(&start[0]);
	test2.push_back(&goal[0]);
	for (unsigned int i=0; i<test2.size(); i++) {
		for (unsigned int j=0; j<9; j++) {
			if(*(test2.at(i)+j) != start[j]){
				return false;
			}
		}
		return true;
		cout << endl;
	}
	//test2.push_back(&goal);

	return 0;

}

