Exemple #1
0
        public void Test_getAllSeriesIdAndViewsSortedOnDate()
        {
            var res = _instance.getAllSeriesIdAndViewsSortedOnDate();

            Assert.Equal(4, res.Count);
            Assert.Equal(100, res[0].views);
            Assert.Equal(300, res[1].views);
            Assert.Equal(1000, res[2].views);
            Assert.Equal(200, res[3].views);
        }
Exemple #2
0
 public List <Viewdata> getAllSeriesIdAndViewsSortedOnDate()
 {
     return(_data.getAllSeriesIdAndViewsSortedOnDate());
 }