public void TestReadFile() { var bot = new WordScamblerBot.WordScrambler(SharpBotClient.SharpBotClient.Client); IList<string> list = new List<string>(); list=bot.ReadFile(); var x = new Random(); string currentWord = list[x.Next(0,list.Count)]; Console.WriteLine(currentWord); }
public void TestRandomWord() { var bot = new WordScamblerBot.WordScrambler(SharpBotClient.SharpBotClient.Client); bot.RandomizeWord("test"); Console.WriteLine(bot.RandomizeWord("test")); }