I have 3 class files, 2 of them contain methods. Both methods must be tested in the 3rd file. How do I do that? An example below is just one file with a method and the testing file. If I can figure out how to put that one method file in the testing file then I should be able to put the 2nd method in too.
TESTING FILE:
    public class Test {
public static void main(String[] args) {
    java.util.Scanner input = new java.util.Scanner(System.in);
    System.out.println("Enter ten numbers: ");
    double [] numbers = new double[10];
    double minimum_number;
    for(int i=0;i<10;i++)
    {
        numbers[i] =input.nextDouble();
    }
    minimum_number = min(numbers);
    System.out.println("The minimum number is: " + minimum_number);
ONE OF THE FILES WITH A METHOD:
    public class Chapter8 {
        public static double min(double[] array)
        {
            double minimum = array[0];
            for(int i=1;i<10;i++)
            {
                if (array[i] < minimum)
                {
                    minimum = array[i]; 
                }
            }
            return minimum;
        }
      }
 
     
     
    