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

            // action
            var result = sp.Log10(10);

            // assert
            Assert.AreEqual(1.0, result);
        }
Beispiel #2
0
        public void Log10_Int_ReturnInt()
        {
            // arrange
            var sp = new ScalarPrimitives <int, int>();

            // action
            var result = sp.Log10(10);

            // assert
            Assert.AreEqual(1, result);
        }