Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Exam Part 2 Tests added and Small Function Changes #14

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

CoraBailey
Copy link

Added many tests for each spec file, and changed small portions of functions, both for the assignment and small changes to variable names for ease of understanding.

…e skips in vessel_spec and am working on making the tests pass
…water, can be filled and can dispense the water in its reservoir
…the freezer, calculate the remaining capacity of the freezer and set the temperature based on the level
…e very similar layouts and similar changes were needed to make them complient, the most notable change that isn't from what is required from tests is the fact chiller goes by 5's per level of temperature and freezer goes by 10's per level
…mbined total of freezer and chiller capacity
…no longer empty when items are added to them through their respective methods, though I would've prefered to use an expect include test so that we could make sure items were contained in the contents of the freezer and chiller, but there was an error I could not resolve, commiting this message to remember later
…rator, changed refrigerator to access power symbol
…e by showing they also turn off with the refridgerator
…ring, before and after changes are made through adding items
…negative and if it does need to drain will drain only to a level of 0
…negative when given a number higher than the volume of water currently contained
… a vessel, based on the dispense function, changed some tests so that instead of using no parameters they use one for the volume to fill the reservoir to, no behavior has been changed that can be noticed by the user, though there have been many changes to some names and to some of the methods, such as changing the fill method in the WaterDispenser so that it takes a vessel and uses that vessels volume for the int to fill the resevoir to
…r so that it can't be initialized with a volume above the set capacity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant