public void AfterInitializationCallToGslSpecialFunctionShouldNotThrow() { GSLInitializer.Initialize(); var x = double.MinValue; Assert.DoesNotThrow(() => x = SpecialFunctions.Debye(2, 10)); Assert.AreNotEqual(double.MinValue, x); }
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); }