public void TestPlanetsNamesGenerator() { Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 1)); Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 2)); Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 3)); Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 4)); Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 5)); Console.WriteLine(NamesGenerator.GeneratePlanetName(1, 6)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 1)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 2)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 3)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 4)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 5)); Console.WriteLine(NamesGenerator.GeneratePlanetName(2, 6)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 1)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 2)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 3)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 4)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 5)); Console.WriteLine(NamesGenerator.GeneratePlanetName(3, 6)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 1)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 2)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 3)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 4)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 5)); Console.WriteLine(NamesGenerator.GeneratePlanetName(4, 6)); }
private static string GeneratePlanetName(int seed, int value) { return(NamesGenerator.GeneratePlanetName(seed, value)); }