public bool PlanetsAndSunAligned(IEnumerable <Point> planetsPositions, Point sun)
        {
            var points = new List <Point>(planetsPositions);

            points.Add(sun);

            return(Collinearity.AreCollinear(points));
        }
 public bool PlanetsAligned(IEnumerable <Point> planetsPositions)
 {
     return(Collinearity.AreCollinear(planetsPositions));
 }