示例#1
0
文件: CommandFixture.cs 项目: rh/mix
 public void TwoInstancesOfOneTypeOfCommandShouldBeEqual()
 {
     var command1 = new HelpCommand();
     var command2 = new HelpCommand();
     Assert.AreEqual(command1, command2);
 }
示例#2
0
文件: CommandFixture.cs 项目: rh/mix
 public void TwoTypesOfCommandShouldNotBeEqual()
 {
     var helpCommand = new HelpCommand();
     var versionCommand = new VersionCommand();
     Assert.AreNotEqual(helpCommand, versionCommand);
 }
示例#3
0
文件: CommandFixture.cs 项目: rh/mix
 public void ContextNull()
 {
     Command command = new HelpCommand();
     Assert.AreEqual(Context.Null, command.Context);
 }