public void Contains_Message() { var m = new dotnetbot.maker(); var msg = "Testing Dotnet-bot"; Assert.True(m.GetBot(msg).Contains(msg)); }
public static void Main(string[] args) { string message = "Dotnet-bot: Welcome to using .NET Core!"; if (args.Length > 0) { message = String.Join(" ", args); } var robot = new dotnetbot.maker(); Console.WriteLine(robot.GetBot(message)); Console.WriteLine(); Console.WriteLine($"Time: {DateTime.Now.ToString()}"); Console.WriteLine(); Console.WriteLine($"OS: {RuntimeInformation.OSDescription}"); Console.WriteLine(); }