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