Skip to content

Refactor Gaussian and add Junit test  #2959

@leren1

Description

@leren1

Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered

Refactor the Gaussian.java class. Everything is in the main function and it reads the data from the console. Instead, make it take in an ArrayList and return an ArrayList with the answer. Lower the CC of the function by dividing the function.
Also, add a Junit test for the class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions