Exemplo n.º 1
0
        public void ShouldFixAllNames()
        {
            SoundEffectHolder seh = new SoundEffectHolder();
            SoundDetails      sd  = new SoundDetails();

            sd.FullPath = @"c:\Somewhere\Name Name    Other.mp3";
            seh.Add(sd);

            seh.FixNames();
            seh.Sounds[0].Name.Should().Be("Name Other");
        }
Exemplo n.º 2
0
 public void ShouldFixNames(string name, string fixedName)
 {
     SoundEffectHolder.FixName(name).Should().Be(fixedName);
 }