public void getTripAverageTest() { TripDB tripDB = new TripDB(); int tripID = tripDB.addTrip(3); int payerId1 = tripDB.addPayer(tripID, 0, 1); int payerId2 = tripDB.addPayer(tripID, 1, 1); int payerId3 = tripDB.addPayer(tripID, 2, 1); tripDB.addPrice(payerId1, 0, 5.0); tripDB.addPrice(payerId2, 0, 10.0); tripDB.addPrice(payerId3, 0, 15.0); double average = tripDB.getTripAverage(tripID); Assert.AreEqual(average, 10.0); }