public void ReturnsFalseForNull(int ch, int rtu, int point)
            {
                var tmAnalog1 = new TmAnalog(ch, rtu, point);

                var result = tmAnalog1.Equals(null);

                Assert.False(result);
            }
            public void ReturnsTrue(int ch, int rtu, int point)
            {
                var tmAnalog1 = new TmAnalog(ch, rtu, point);
                var tmAnalog2 = new TmAnalog(ch, rtu, point);

                var result = tmAnalog1.Equals(tmAnalog2);

                Assert.True(result);
            }
            public void ReturnsFalseForWrongAddr(int ch, int rtu, int point)
            {
                var tmAnalog1 = new TmAnalog(ch, rtu, point);
                var tmAnalog2 = new TmAnalog(ch, rtu, point + 1);

                var result = tmAnalog1.Equals(tmAnalog2);

                Assert.False(result);
            }
            public void ReturnsFalseForWrongType(int ch, int rtu, int point)
            {
                var tmAnalog1 = new TmAnalog(ch, rtu, point);
                var tmStatus  = new TmStatus(ch, rtu, point);

                var result = tmAnalog1.Equals(tmStatus);

                Assert.False(result);
            }
            public void ReturnsFalseForWrongFlags(int ch, int rtu, int point)
            {
                var tmAnalog1 = new TmAnalog(ch, rtu, point);
                var tmAnalog2 = new TmAnalog(ch, rtu, point)
                {
                    Flags = TmFlags.Unreliable
                };

                var result = tmAnalog1.Equals(tmAnalog2);

                Assert.False(result);
            }