示例#1
0
 public void ShouldNot_CreateCommand(string command)
 {
     Assert.Throws <Exception>(() => CommandDay12.CreateCommand(command));
 }
示例#2
0
        public void Should_CreateCommand(string command, CommandDay12 expected)
        {
            var result = CommandDay12.CreateCommand(command);

            result.Should().BeEquivalentTo(expected);
        }