public async Task Solve_GivenWhiteOnTopFrontFaceAndMatchingColourOnRightFace_BottomRightCentreIsCorrect() { var solver = new BottomCrossSolver(); var configuration = UnitTests.Helpers.CreateConfiguration(new[] { Rotations.Right2, Rotations.UpperClockwise }, 3); var solution = new List<IRotation>(); await solver.CheckTopFaceForWhite(configuration, solution).ConfigureAwait(true); CubeConfigurationAssert.BottomRightCentreIsCorrect(configuration); }
public async Task Solve_GivenWhiteOnTopLeftFaceMatchingLeftCentre_BottomLeftCentreIsCorrect() { var solver = new BottomCrossSolver(); var configuration = UnitTests.Helpers.CreateConfiguration(new[] { Rotations.Left2 }, 3); var solution = new List<IRotation>(); await solver.CheckTopFaceForWhite(configuration, solution).ConfigureAwait(true); CubeConfigurationAssert.BottomLeftCentreIsCorrect(configuration); }