Project Startup - Henry-Posada/s-pgraphmaker GitHub Wiki

To get the project started, we would recommend installing the most recent version of Java as well as visual studio code and any necessary tools to be able to work with Java in Visual Studio Code. Next you will likely need to download a file to allow Junit testing and to edit the settings.json file to get it to work, we recommend the video here.

To run the Data tests in the file Test_Data you will need to follow the instructions at the top comment above the class declaration in the aforementioned file as the file location for the necessary data file may be different than the working directory and you will need to put a test file in that other location in addition to the working directory. In that case take the "Data.csv" of the project and copy that file to the necessary directory. If this is giving an issue try an absolute url to the data file.

A data file MUST follow this format

  1. Be a csv. 2.1 2nd column and onward ONLY be numerical REAL numbers. 2.2 2nd row and onward ONLY be numerical REAL numbers EXCEPT the first column.

Note that the first cell of the file will be "what" the data is about so if the first cell is called "Cars" we expect the rows (records) to be "cars". Note the first row of the file will be the attributes like "Miles per gallon" or "Miles Driven" to a file about "Cars". Note that a data files first column will be used as an identifier for the row. So a file of "Cars" will be identified in the first column where one may write "Mustang", "Grand Cherokee" etc.