Skip to content

mcgill-ecse321/temperature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • title: Assignment 3
  • subtitle: Unit testing
  • due: 14 Oct, 2013
  • marks: 10 marks

  1. Fork the github repository

    https://github.com/mcgill-ecse321/temperature

  2. Complete the skeleton file TemperatureTest.java to unit test the Temperature class. You must test the following:

    1. Check the getUnits() and getValue() functions.

    2. Check the changeUnits() function for all six possible conversions between Celsius, Fahrenheit, and Kelvin.

    Explain your reasoning for choosing the particular test data. Note that you may have to choose multiple test data for each of the above test cases.

  3. While running the above test cases, if you find bugs in the Temeprature class, you are allowed to modify the Temperature class appropriately.

  4. Tag your final code with tag assignment-2 and submit the Git URL of your repository. Your rationale for choosing the test data should be described in the code comments.

About

Temperature class for Assignment 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published