Esempio n. 1
0
 public bool Equals(IPeak other)
 {
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(MZ.FussyEquals(other.X) && Intensity.FussyEquals(other.Y));
 }
Esempio n. 2
0
 public bool Equals(MZPeak other)
 {
     // Odd to use mass equals on intensity, might have to make that more generic sometime
     return(MZ.FussyEquals(other.MZ) && Intensity.FussyEquals(other.Intensity));
 }