예제 #1
0
        internal static decimal GetDatesCoveragePercentage(long StartDate, long EndDate, int ItemID)
        {
            IDataIndicatorService _service = new DataIndicatorService();

            var Percentage = _service.GetAssetDatesCoverage(StartDate, EndDate, ItemID);

            return(Percentage);
        }
예제 #2
0
        public void GetAssetDatesCoverage()
        {
            //Arrange
            IDataIndicatorService _service = new DataIndicatorService();
            var StartDate = new long();
            var EndDate   = new long();
            var itemId    = new int();

            //Act
            StartDate = 20180920;
            EndDate   = 20180928;
            itemId    = 750;

            //Assert
            Assert.IsNotNull(_service.GetAssetDatesCoverage(StartDate, EndDate, itemId));
        }