Class PictureAutograder


  • public class PictureAutograder
    extends Autograder
    Example child class of the Autograder. Has an additional test for comparing the output of pictures.
    See Also:
    Autograder
    • Constructor Detail

      • PictureAutograder

        public PictureAutograder()
        The constructor of a picture Autograder.
    • Method Detail

      • pictureDiffTest

        public void pictureDiffTest​(java.lang.String p,
                                    java.lang.String prefix,
                                    double cold,
                                    double hot)
        Runs a picture diff tests for a specific file. This currently is designed to work with the pictures created for project 3 in Gateway Computing Spring 2019. Each picture was named prefix_i_j.png.
        Parameters:
        p - the program to do diff tests on
        prefix - the initial part of the name
        cold - the cold value of the grid
        hot - the hot value of the grid