static bool RunTests() { try { //creating cinema BoxOffice bx = new BoxOffice(); bx.SetupBoxOffice(); Cinema village = new Cinema() { Name = "The Village", Address = new Address() { StreetAddress = "123 fake str." }, DefaultTicketPrice = 11.99 }; village.CreateTheater("Theater 7", 7, 3); village.CreateShowtime(village.Theaters[0], bx.Movies.Find(m => m.Title == "Black Panther"), "12:00 PM"); village.PrintShowtimes(); village.ShowAvailableTickets(village.Showtimes[0]); } catch (Exception error) { System.Console.WriteLine(error.Message); return(false); } return(true); }