Ejemplo n.º 1
0
 public bool Equals(IPeak other)
 {
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(MZ.FussyEquals(other.X) && Intensity.FussyEquals(other.Y));
 }
Ejemplo 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));
 }