public void CompareToIsImplemented()
        {
            IonDose coulombperkilogramm = IonDose.FromCoulombPerKilogramms(1);

            Assert.Equal(0, coulombperkilogramm.CompareTo(coulombperkilogramm));
            Assert.True(coulombperkilogramm.CompareTo(IonDose.Zero) > 0);
            Assert.True(IonDose.Zero.CompareTo(coulombperkilogramm) < 0);
        }
        public void CompareToThrowsOnNull()
        {
            IonDose coulombperkilogramm = IonDose.FromCoulombPerKilogramms(1);

            Assert.Throws <ArgumentNullException>(() => coulombperkilogramm.CompareTo(null));
        }
        public void CompareToThrowsOnTypeMismatch()
        {
            IonDose coulombperkilogramm = IonDose.FromCoulombPerKilogramms(1);

            Assert.Throws <ArgumentException>(() => coulombperkilogramm.CompareTo(new object()));
        }