Drink Vending Machine Simulator Program Test Data Sheet.docx - Program Test Data Sheet Program Name Drink Vending Machine Simulator Test Run Test 1 –

Drink Vending Machine Simulator Program Test Data...

This preview shows page 1 out of 1 page.

Program Test Data Sheet Program Name: Drink Vending Machine Simulator Developer Name: Julie Moore Date Tested: April 27, 2017 Test Run User Input Ex. Weight = 140 Desk Check Results Calculate by hand and record results Program Executed Results Run program and record how program executed, include modifications needed, if any Test 1 – Using Valid Data Use valid data Cola click = 1x Root Beer click = 1x Lemon Lime = 1x Grape Soda = 1x Cream Soda = 1x Count = 19, Total Sales = $1.00 Count = 19, Total Sales = $2.00 Count = 19, Total Sales = $3.00 Count = 19, Total Sales = $4.50 Count = 19, Total Sales = $6.00 Program functions properly Test 2 – Incorrect data types Use a different data type than expected, ex. B for a number n/a Program functions properly Test 3 – Out of range data values Use values outside of the expected range. If range is
Image of page 1

Unformatted text preview: 0-10, then use a -9 or 12 n/a Test 4 – User defined test Create your own test data and record the results Cola click = 20x Root Beer click = 20x Lemon Lime = 20x Grape Soda = 20x Cream Soda = 20x Count = 0, Total Sales = $20.00 Count = 0, Total Sales = $40.00 Count = 0, Total Sales = $60.00 Count = 0, Total Sales = $.90.00 Count = 0, Total Sales = $120.00 Program functions properly Test 5 – User defined test Create your own test data and record the results Cola click = 21x Root Beer click = 21x Lemon Lime = 21x Grape Soda = 21x Cream Soda = 21x “Sorry, Cola is sold out” “Sorry, Root Beer is sold out” “Sorry, Lemon Lime is sold out” “Sorry, Grape Soda is sold out” “Sorry, Cream Soda is sold out” Program functions properly...
View Full Document

  • Summer '19
  • smith

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes