private void PerFilterTrack2(IMusicSession ms)
        {
            using (TimeTracer.TimeTrack(string.Format("Finder")))
            {
                Finder f = null;
                using (TimeTracer.TimeTrack(string.Format("1-Finder creation")))
                {
                    f = new Finder(ms.AllTracks, 2);
                }

                IEnumerable<ITrack> Res = null;

                using (TimeTracer.TimeTrack(string.Format("2-Finder usage")))
                {
                    foreach (string s in this.ForTest)
                    {
                        Res = f.ComputeForSearch(s).ToList();
                    }
                }
            }

            using (TimeTracer.TimeTrack(string.Format("Raw")))
            {
                foreach (string s in this.ForTest)
                {
                    IEnumerable<ITrack> Res2 = this.FilterCount2(s, ms.AllTracks).ToList();
                }
            }
        }
 public void TestFinderFunctionality()
 {
     Finder f = new Finder(_MS.AllTracks, 2);
     using (TimeTracer.TimeTrack(string.Format("TestFinderFunctionality")))
     {
         foreach (string s in this.ForTest)
         {
             IEnumerable<ITrack> Res1 = f.ComputeForSearch(s).OrderBy(t=>t.ID);
             IEnumerable<ITrack> Res2 = this.FilterCount2(s, _MS.AllTracks).OrderBy(t => t.ID);
             Assert.That(Res1.SequenceEqual(Res2));
         }
     }
 }