コード例 #1
0
ファイル: UnitTest.cs プロジェクト: IvanStrok23/Test
        public void Get_Ten_Items_Test()
        {
            DatabaseLogic datbaseLogic = new DatabaseLogic(new DatabaseConnection());
            int?          i            = datbaseLogic.GetDataWithName("School", 0).Count;

            Assert.AreEqual(10, i);
        }
コード例 #2
0
ファイル: FundController.cs プロジェクト: IvanStrok23/Test
 List <Fund> GetTenFounds(string fundName)
 {
     _foundsList = _databaseLogic.GetDataWithName(fundName, _selectedPage);
     SetDropdown();
     return(_foundsList);
 }