public void Sample() { OneLookLLCube cube = new OneLookLLCube(); cube.Solve(); cube.SetUpPosition(3776); int posNum = cube.GetPosNum(); Assert.AreEqual(3776, posNum, "failed no auf"); cube.Solve(); cube.SetUpPosition(3776); cube.U(); posNum = cube.GetPosNum(); Assert.AreEqual(3776, posNum, "failed U"); cube.Solve(); cube.SetUpPosition(3776); cube.U2(); posNum = cube.GetPosNum(); Assert.AreEqual(3776, posNum, "failed U2"); cube.Solve(); cube.SetUpPosition(3776); cube.Ui(); posNum = cube.GetPosNum(); Assert.AreEqual(3776, posNum, "failed U'"); }
public void DifferentAngle() { OneLookLLCube cube = new OneLookLLCube(); cube.Solve(); cube.SetUpPosition(447); cube.U2(); int num = cube.GetPosNum(); Assert.AreEqual(447, num); }