Exemple #1
0
        public void OPA_TemporalValueItem_DoesMatch()
        {
            //ARRANGE
            // Use Test Helpers
            //ACT
            var temporalValueItemMatch = new TemporalValueItem(changePointDefaultDate, changePointDefaultValue, changePointDefaultType);

            //ASSERT
            temporalValueItemMatch.Should().BeEquivalentTo(temporalValueItemDefault);
        }
Exemple #2
0
        public void OPA_TemporalValueItem_DoesNotMatch()
        {
            //ARRANGE
            object changePointValueNotMatch = 200;
            //ACT
            var temporalValueItemNotMatch = new TemporalValueItem(changePointDefaultDate, changePointValueNotMatch, changePointDefaultType);

            //ASSERT
            temporalValueItemNotMatch.Should().NotBeSameAs(temporalValueItemDefault);
        }
Exemple #3
0
        public void OPA_TemporalValueItem_DoesExist()
        {
            //ARRANGE
            // Use Test Helpers
            //ACT
            var temporalValueItemNotNull = new TemporalValueItem(changePointDefaultDate, changePointDefaultValue, changePointDefaultType);

            //ASSERT
            temporalValueItemNotNull.Should().NotBeNull();
        }