public void TestPermutations() { IEnumerable <Sample> obvs = GetObvs(); var ob = obvs.FirstOrDefault(); var possiblities = DigitalClockSolver.GeneratePermutations(ob); Assert.AreEqual(10, possiblities.Count()); }
private IEnumerable <Sample> GetObvs() { string input = "3 71:57 71:57 71:07"; return(DigitalClockSolver.ParseObservations(input)); }