public void Test_RemoveTrack() { var clip = new AnimationClip (100, "ClipName"); var track1 = new AnimationTrack ("PropName", InterpolationType.Linear); var track2 = new AnimationTrack ("PropName", InterpolationType.Linear); var target = new Node (); clip.AddTrack (target, track1); clip.AddTrack (target, track2); Assert.AreEqual (2, clip.TrackCount); Assert.AreEqual (2, clip.Tracks.Count()); clip.RemoveTrack (track1); clip.RemoveTrack (track2); Assert.AreEqual (0, clip.TrackCount); Assert.AreEqual (0, clip.Tracks.Count ()); }