public void The_static_compare_method_should_return_negative_one() { Assert.That(WowCharacter.Compare(firstWowCharacter, secondWowCharacter), Is.EqualTo(-1)); }
public void The_static_compare_method_should_return_non_zero() { Assert.That(WowCharacter.Compare(firstWowCharacter, secondWowCharacter), Is.Not.EqualTo(0)); }
public void The_static_compare_method_should_produce_opposite_results_when_swapping_the_first_and_second_wow_characters() { Assert.That(WowCharacter.Compare(firstWowCharacter, secondWowCharacter) > 0, Is.Not.EqualTo(WowCharacter.Compare(secondWowCharacter, firstWowCharacter) > 0)); }
public void The_static_compare_method_should_throw_an_invalid_cast_exception() { Assert.That(() => WowCharacter.Compare(firstWowCharacter, ( WowCharacter )@object), Throws.TypeOf <InvalidCastException>()); }