예제 #1
0
        public void Does_nullableconversion_translate()
        {
            var conversion = new NullableConversion {
                Amount = 123.45m
            };
            var conversionDto = conversion.TranslateTo <NullableConversionDto>();

            Assert.That(conversionDto.Amount, Is.EqualTo(123.45m));
        }
예제 #2
0
        public void Does_nullableconversion_translate()
        {
            var conversion = new NullableConversion { Amount = 123.45m };
            var conversionDto = conversion.TranslateTo<NullableConversionDto>();

            Assert.That(conversionDto.Amount, Is.EqualTo(123.45m));
        }