This is an example assignment for Pawtograder, Java Edition. It is a simple assignment that tests the student's ability to write a simple Java program.
- Implement the
doMath
method in theEntrypoint
class. - Implement the
getMessage
method in theEntrypoint
class.
The EntrypointTest
class has some unit tests for the Entrypoint
class. You
can run these tests using ./gradlew test
in the root directory of the project.
Implement tests for the doMath
method in the EntrypointTest
class. Be sure
to consider "0" as a special case for both a
and b
.
You can submit your assignment by pushing your changes to the main
branch.