(String[] args)
| 56 | } |
| 57 | |
| 58 | public static void main(String[] args) { |
| 59 | int n = Integer.parseInt(args[0]); |
| 60 | int trials = Integer.parseInt(args[1]); |
| 61 | |
| 62 | PercolationStats ps = new PercolationStats(n, trials); |
| 63 | StdOut.println("mean = " + ps.mean()); |
| 64 | StdOut.println("stddev = " + ps.stddev()); |
| 65 | StdOut.println( |
| 66 | "95% confidence interval = [" + ps.confidenceLo() + ", " + ps.confidenceHi() + "]"); |
| 67 | } |
| 68 | } |
nothing calls this directly
no test coverage detected