Exemplo n.º 1
0
        public void GetColumnDatasTest()
        {
            double[]      datas        = { 0.8, -1, 45.5 };
            List <double> predictDatas = _csvHelper.GetColumnDatas("Attr1");

            Assert.AreEqual(datas[0], predictDatas[0]);
            Assert.AreEqual(datas[1], predictDatas[1]);
            Assert.AreEqual(datas[2], predictDatas[2]);
        }