Пример #1
0
 public static void AssertDeepEqual(this ResolumeOscMap self, ResolumeOscMap other)
 {
     self.AssertSameShortcuts(other);
     self.AssertSameColorGroups(other);
     self.AssertSameVector2Groups(other);
     self.AssertSameVector3Groups(other);
 }
Пример #2
0
 public static void AssertSameVector3Groups(this ResolumeOscMap self, ResolumeOscMap other)
 {
     Assert.AreEqual(other.Vector3Groups.Count, self.Vector3Groups.Count);
     for (int i = 0; i < self.Vector3Groups.Count; i++)
     {
         AssertEqual(other.Vector3Groups[i], self.Vector3Groups[i]);
     }
 }
Пример #3
0
 public static void AssertSameShortcuts(this ResolumeOscMap self, ResolumeOscMap other)
 {
     Assert.AreEqual(other.Shortcuts.Count, self.Shortcuts.Count);
     for (int i = 0; i < self.Shortcuts.Count; i++)
     {
         AssertDeepEqual(other.Shortcuts[i], self.Shortcuts[i]);
     }
 }