mirror of
https://bitbucket.org/Mattrixwv/projecteulerjava.git
synced 2025-12-06 17:13:58 -05:00
Update test coverage
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
//ProjectEulerJava/src/main/java/mattrixwv/ProjectEuler/Problems/Problem45.java
|
||||
//Mattrixwv
|
||||
// Created: 08-20-22
|
||||
//Modified: 08-20-22
|
||||
//Modified: 06-30-23
|
||||
//If p is the perimeter of a right triangle for which value of p <= 1000 is the number of solutions for the sides {a, b, c} maximized
|
||||
//Unless otherwise listed all non-standard includes are my own creation and available from https://bibucket.org/Mattrixwv/JavaClasses
|
||||
/*
|
||||
Copyright (C) 2022 Matthew Ellison
|
||||
Copyright (C) 2023 Matthew Ellison
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -31,10 +31,10 @@ public class Problem45 extends Problem{
|
||||
//Static variables
|
||||
private static final long MIN_NUMBER = 40756;
|
||||
//Instance variables
|
||||
private long num;
|
||||
private TriangularNumberGenerator triGen;
|
||||
private PentagonalNumberGenerator penGen;
|
||||
private HexagonalNumberGenerator hexGen;
|
||||
protected long num;
|
||||
protected TriangularNumberGenerator triGen;
|
||||
protected PentagonalNumberGenerator penGen;
|
||||
protected HexagonalNumberGenerator hexGen;
|
||||
|
||||
//Functions
|
||||
//Constructor
|
||||
|
||||
Reference in New Issue
Block a user