Beispiel #1
0
        public void Convert_DoubleToLong_ReturnLong()
        {
            // arrange
            var sp = new ScalarPrimitives <long, double>();

            // action
            var result = sp.Convert(100.0);

            // assert
            Assert.AreEqual(100L, result);
        }