Ejemplo n.º 1
0
 /// <summary>
 /// Overload constructor with parameters.
 /// </summary>
 public CompactionCmvPercentChangeResult(CMVChangeSummaryResult result)
 {
     if (result != null && result.HasData())
     {
         SummaryData = new CmvChangeSummaryData
         {
             Percents = result.Values,
             TotalAreaCoveredSqMeters = result.CoverageArea
         };
     }
 }
Ejemplo n.º 2
0
        public void HasData_Should_return_expected_result_From_coverage_value(double coverageArea, bool expectedResult)
        {
            var obj = new CMVChangeSummaryResult(null, coverageArea);

            Assert.AreEqual(expectedResult, obj.HasData());
        }