public void IdenticalSampleVoicepacksHaveEqualComponentInformation() { _testPack1.InitializeToDefault(); _testPack1.Voicepack.componentInformation = VoicepackSampleCreator.CreateSampleCompInfo(); _testPack2.InitializeToDefault(); _testPack2.Voicepack.componentInformation = VoicepackSampleCreator.CreateSampleCompInfo(); Assert.IsTrue(_testPack1.EqualComponentInfo(_testPack2)); }
public void SlightlyDifferentSampleVoicepacksDontHaveEqualComponentInformation() { _testPack1.InitializeToDefault(); _testPack1.Voicepack.componentInformation = VoicepackSampleCreator.CreateSampleCompInfo(); _testPack2.InitializeToDefault(); _testPack2.Voicepack.componentInformation = VoicepackSampleCreator.CreateSampleCompInfo(); _testPack2.Voicepack.componentInformation.author = "Someone Else"; Assert.IsFalse(_testPack1.EqualComponentInfo(_testPack2)); }