public void InequalityIsCorrect()
        {
            BatchSegment segment1 = BatchSegment.Instance;
            CountSegment segment2 = CountSegment.Instance;

            Assert.False(segment1.Equals(segment2));
        }
示例#2
0
        public void InequalityIsCorrect()
        {
            BatchSegment segment1 = BatchSegment.Instance;
            CountSegment segment2 = CountSegment.Instance;

            segment1.Equals(segment2).Should().BeFalse();
        }
        public void EqualityIsCorrect()
        {
            BatchSegment segment1 = BatchSegment.Instance;
            BatchSegment segment2 = BatchSegment.Instance;

            Assert.True(segment1.Equals(segment2));
        }
示例#4
0
        public void EqualityIsCorrect()
        {
            BatchSegment segment1 = BatchSegment.Instance;
            BatchSegment segment2 = BatchSegment.Instance;

            segment1.Equals(segment2).Should().BeTrue();
        }