public void GivenNumericDdiEntryWhenLoadThenSetsResolution() { var result = DdiLoader.Load(NumericDdiDefinition2); var ddiDefinition = result.Values.Single(); Assert.AreEqual(.001, ddiDefinition.Resolution); }
public void GivenNumericDdiEntryWhenLoadThenSetsUnit() { var result = DdiLoader.Load(NumericDdiDefinition); var ddiDefinition = result.Values.Single(); Assert.AreEqual("mg/m²", ddiDefinition.Unit); }
public void TearDown() { DdiLoader.Load(); }
public void GivenNumericDdiEntryWhenLoadThenSetsDescription() { var result = DdiLoader.Load(NumericDdiDefinition); Assert.AreEqual("Actual Application Rate specified as mass per area", result.Values.Single().Definition); }
public void GivenNumericDdiEntryWhenLoadThenSetsName() { var result = DdiLoader.Load(NumericDdiDefinition); Assert.AreEqual("Actual Mass Per Area Application Rate", result.Values.Single().Name); }
public void GivenNumericDdiEntryWhenLoadThenSetsId() { var result = DdiLoader.Load(NumericDdiDefinition); Assert.AreEqual(7, result.Values.Single().Id); }