public void AttemptToConvertWithoutinfoGivesInvalidOpException() { AdHocConfig.UseEmpty(); Assert.Throws <InvalidOperationException>(() => { var m1 = new Measure(1, Kilogram).ConvertTo(Gram); }); }
public MeasureTests(ITestOutputHelper output) { _output = output; AdHocConfig.UseEmpty(); }