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