public static void GetTolerance_Between_Two_Objects_of_Different_Type()
        {
            double tolerance1         = 0.1;
            ObjectWithTolerance item1 = new ObjectWithTolerance()
            {
                Tolerance = tolerance1
            };
            double tolerance2 = 0.2;
            AnotherObjectWithTolerance item2 = new AnotherObjectWithTolerance()
            {
                Tolerance = tolerance2
            };

            Assert.AreEqual(tolerance2, Generics.GetTolerance(item1, item2));
        }
        public static void GetTolerance_Between_Two_Objects_of_Different_Type_and_Specified_Governing_Tolerance()
        {
            double tolerance1         = 0.01;
            ObjectWithTolerance item1 = new ObjectWithTolerance()
            {
                Tolerance = tolerance1
            };
            double tolerance2 = 0.02;
            AnotherObjectWithTolerance item2 = new AnotherObjectWithTolerance()
            {
                Tolerance = tolerance2
            };
            double governingTolerance = 0.1;

            Assert.AreEqual(governingTolerance, Generics.GetTolerance(item1, item2, governingTolerance));
        }