public void TestGetPatientsWithValidPid() { Patient p = new Patient(10000); p.Insert(); p.Select(); Assert.True(p.GetPatient(p.PatientID)); p.Delete(); }
public AddTreatment(Treatment pTreatment) { InitializeComponent(); treatment = pTreatment; waitlist = new WaitlistedPatient(treatment.TreatmentID); patient = new Patient(); patient.GetPatient(treatment.PatientID); populatePreBoxFields(); _isNewTreatment = false; }
public void TestGetPatientsWithInvalidPid() { Patient p = new Patient(); Assert.False(p.GetPatient(-1)); }