コード例 #1
0
        public void TestGetOfficeIdForDoctor(int idDoctor, int expected)
        {
            SqlConnections sql = new SqlConnections();

            Xunit.Assert.Equal(expected, sql.GetOfficeIdForDoctor(idDoctor));
        }
コード例 #2
0
        public void TestGetUserType(string login, string password, string expected)
        {
            SqlConnections sql = new SqlConnections();

            Xunit.Assert.Equal(expected, sql.GetUserType(login, password));
        }
コード例 #3
0
        public void TestGetLoggedDoctorId(string login, string password, int expected)
        {
            SqlConnections sql = new SqlConnections();

            Xunit.Assert.Equal(expected, sql.GetLoggedDoctorId(login, password));
        }