Passed: 9 / 9 Total Score: 32.0 / 32.0

Test Calculator

Status:

Passed

Score:

5.0 / 5.0

Observed (Your Actual Output)

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 10
Number 2: 2
12

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 42
Number 2: 20
22

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 50
Number 2: 50
100

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: foo
Unrecognized response: foo

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 3

Expected (Correct Output)

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 10
Number 2: 2
12

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 42
Number 2: 20
22

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 50
Number 2: 50
100

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: foo
Unrecognized response: foo

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 3

Test Calculator2

Status:

Passed

Score:

5.0 / 5.0

Observed (Your Actual Output)

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 5
Number 2: 3
2

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 42
Number 2: 20
22

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 34
Number 2: 26
60

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 3

Expected (Correct Output)

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 5
Number 2: 3
2

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 2
Number 1: 42
Number 2: 20
22

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 1
Number 1: 34
Number 2: 26
60

What would you like to do?
 1) Add
 2) Subtract
 3) Quit
Option: 3

Test Compare Lists Fruit

Status:

Passed

Score:

2.0 / 2.0

Observed (Your Actual Output)

Enter a Fruit: apples
Enter a Fruit: oranges
Enter a Fruit: bananas
Enter a Fruit: 
Enter a Vegetable: spinach
Enter a Vegetable: broccoli
Enter a Vegetable: 
Fruits:
 - apples
 - oranges
 - bananas
Vegetables:
 - spinach
 - broccoli
You need more vegetables!

Expected (Correct Output)

Enter a Fruit: apples
Enter a Fruit: oranges
Enter a Fruit: bananas
Enter a Fruit: 
Enter a Vegetable: spinach
Enter a Vegetable: broccoli
Enter a Vegetable: 
Fruits:
 - apples
 - oranges
 - bananas
Vegetables:
 - spinach
 - broccoli
You need more vegetables!

Test Compare Lists Vegetables

Status:

Passed

Score:

2.0 / 2.0

Observed (Your Actual Output)

Enter a Fruit: apple
Enter a Fruit: 
Enter a Vegetable: carrot
Enter a Vegetable: squash
Enter a Vegetable: 
Vegetables:
 - carrot
 - squash
Fruits:
 - apple
You need more fruit!

Expected (Correct Output)

Enter a Fruit: apple
Enter a Fruit: 
Enter a Vegetable: carrot
Enter a Vegetable: squash
Enter a Vegetable: 
Vegetables:
 - carrot
 - squash
Fruits:
 - apple
You need more fruit!

Test Compare Lists Equal

Status:

Passed

Score:

2.0 / 2.0

Observed (Your Actual Output)

Enter a Fruit: grape
Enter a Fruit: strawberry
Enter a Fruit: 
Enter a Vegetable: squash
Enter a Vegetable: yam
Enter a Vegetable: 
Fruits:
 - grape
 - strawberry
Vegetables:
 - squash
 - yam
What a healthy balanced diet!

Expected (Correct Output)

Enter a Fruit: grape
Enter a Fruit: strawberry
Enter a Fruit: 
Enter a Vegetable: squash
Enter a Vegetable: yam
Enter a Vegetable: 
Fruits:
 - grape
 - strawberry
Vegetables:
 - squash
 - yam
What a healthy balanced diet!

Test Student Ratings

Status:

Passed

Score:

3.0 / 3.0

Observed (Your Actual Output)

Enter ratings for this class.
Each rating includes a score and a comment.
Use a blank score to end.
Score: 9.5
Comment: The professors were passionate about what they were teaching. I couldn't help but get sucked right into it
Score: 7
Comment: Really hard class
Score: 8.2
Comment: the teacher was really nice but I didn't understand their style of teaching
Score: 5.1
Comment: Dont take this class
Score: 9.8
Comment: Favorite class I've taken!
Score: 9.4
Comment: The TAs were extremely patient and helpful :)
Score: 
Average rating: 8.2
Comments:
- The professors were passionate about what they were teaching. I couldn't help but get sucked right into it
- Really hard class
- the teacher was really nice but I didn't understand their style of teaching
- Dont take this class
- Favorite class I've taken!
- The TAs were extremely patient and helpful :)

Expected (Correct Output)

Enter ratings for this class.
Each rating includes a score and a comment.
Use a blank score to end.
Score: 9.5
Comment: The professors were passionate about what they were teaching. I couldn't help but get sucked right into it
Score: 7
Comment: Really hard class
Score: 8.2
Comment: the teacher was really nice but I didn't understand their style of teaching
Score: 5.1
Comment: Dont take this class
Score: 9.8
Comment: Favorite class I've taken!
Score: 9.4
Comment: The TAs were extremely patient and helpful :)
Score: 
Average rating: 8.2
Comments:
- The professors were passionate about what they were teaching. I couldn't help but get sucked right into it
- Really hard class
- the teacher was really nice but I didn't understand their style of teaching
- Dont take this class
- Favorite class I've taken!
- The TAs were extremely patient and helpful :)

Test Student Ratings2

Status:

Passed

Score:

3.0 / 3.0

Observed (Your Actual Output)

Enter ratings for this class.
Each rating includes a score and a comment.
Use a blank score to end.
Score: 8.3
Comment: In-depth material, but well explained
Score: 6.5
Comment: The course was tougher than I expected
Score: 7.9
Comment: Engaging lectures, though some topics were a bit dry
Score: 9.0
Comment: Learned a lot, fantastic curriculum!
Score: 7.0
Comment: Good course but some assignments were unclear
Score: 
Average rating: 7.7
Comments:
- In-depth material, but well explained
- The course was tougher than I expected
- Engaging lectures, though some topics were a bit dry
- Learned a lot, fantastic curriculum!
- Good course but some assignments were unclear

Expected (Correct Output)

Enter ratings for this class.
Each rating includes a score and a comment.
Use a blank score to end.
Score: 8.3
Comment: In-depth material, but well explained
Score: 6.5
Comment: The course was tougher than I expected
Score: 7.9
Comment: Engaging lectures, though some topics were a bit dry
Score: 9.0
Comment: Learned a lot, fantastic curriculum!
Score: 7.0
Comment: Good course but some assignments were unclear
Score: 
Average rating: 7.7
Comments:
- In-depth material, but well explained
- The course was tougher than I expected
- Engaging lectures, though some topics were a bit dry
- Learned a lot, fantastic curriculum!
- Good course but some assignments were unclear

Test Words

Status:

Passed

Score:

5.0 / 5.0

Observed (Your Actual Output)

Enter a secret word: bear
Guess a word: middle
Lower!
Guess a word: cathartic
Lower!
Guess a word: assurance
Higher!
Guess a word: benevolent
Lower!
Guess a word: bask
Higher!
Guess a word: bear
You got it!

Expected (Correct Output)

Enter a secret word: bear
Guess a word: middle
Lower!
Guess a word: cathartic
Lower!
Guess a word: assurance
Higher!
Guess a word: benevolent
Lower!
Guess a word: bask
Higher!
Guess a word: bear
You got it!

Test Words2

Status:

Passed

Score:

5.0 / 5.0

Observed (Your Actual Output)

Enter a secret word: python
Guess a word: slate
Lower!
Guess a word: crane
Higher!
Guess a word: pickles
Higher!
Guess a word: quiz
Lower!
Guess a word: poodle
Higher!
Guess a word: python
You got it!

Expected (Correct Output)

Enter a secret word: python
Guess a word: slate
Lower!
Guess a word: crane
Higher!
Guess a word: pickles
Higher!
Guess a word: quiz
Lower!
Guess a word: poodle
Higher!
Guess a word: python
You got it!