Beispiel #1
0
        public void AfterInitializationCallToGslSpecialFunctionShouldNotThrow()
        {
            GSLInitializer.Initialize();

            var x = double.MinValue;

            Assert.DoesNotThrow(() => x = SpecialFunctions.Debye(2, 10));

            Assert.AreNotEqual(double.MinValue, x);
        }
Beispiel #2
0
        public void AfterInitializationCallToGslSpecialFunctionShouldNotThrow()
        {
            var messengingServiceMock = new Mock <IMessagingService>();

            GSLInitializer.Initialize(messengingServiceMock.Object);

            var x = double.MinValue;

            Assert.DoesNotThrow(() => x = SpecialFunctions.Debye(2, 10));

            Assert.AreNotEqual(double.MinValue, x);
        }