public void TestGetOfficeIdForDoctor(int idDoctor, int expected) { SqlConnections sql = new SqlConnections(); Xunit.Assert.Equal(expected, sql.GetOfficeIdForDoctor(idDoctor)); }
public void TestGetUserType(string login, string password, string expected) { SqlConnections sql = new SqlConnections(); Xunit.Assert.Equal(expected, sql.GetUserType(login, password)); }
public void TestGetLoggedDoctorId(string login, string password, int expected) { SqlConnections sql = new SqlConnections(); Xunit.Assert.Equal(expected, sql.GetLoggedDoctorId(login, password)); }