weather
package.
weather
package and all of the classes in the
weather.io
package.
In addition, you must develop a complete unit test suite for these
classes that covers all statements and all branches (as measured by
EclEmma). Your tests
must be in a package named testing
and each test class
must include the word "Test" in its name.
downloads
directory/folder that you created for this course. You should then
open a file explorer or finder, select all of the files, and drag
them into Eclipse. Specifically, you must drag them into the project
(not the src
directory/folder or anything underneath
it).
Then, in your code that needs to use these files (e.g., your tests),
you should use only the file name (i.e., do not include a path).
For example, you might construct a BufferedReader
named
in
as follows:
BufferedReader in = new BufferedReader(new FileReader("current.obs"));
It is possible to put the data files elsewhere, but then, when you submit your solution, your code will not be able to find them. In other words, for your code to work both on your computer and on the submission system, the data files must be dragged into the Eclipse project.
fromString()
method. As another example,
derived classes must not duplicate code in the class that they
specialize. As a final example, methods that
read String
representations of objects must not
duplicate code in the factory methods.
.zip
file named pa3.zip
that contains:
testing
.You may submit your code up to 10 times with no penalty. After the 10th submission, your grade will be reduced by 5 points for each submission.
As always, points will be deducted manually (i.e., outside of Autolab) for code that is unclear, inelegant, and/or poorly documented.
Copyright 2025