1
0
mirror of https://github.com/danog/math.git synced 2024-11-30 04:19:31 +01:00
math/tests
Benjamin Morel 45e3c3a463 Remove get prefix in method names
This improves overall consistency of method names in the project.
For example, it does not make sense to get the reciprocal of a BigRational using reciprocal(), but get its numerator using getNumerator().

List of renamed methods:

- BigNumber::getSign() => sign()
- BigDecimal::getUnscaledValue() => unscaledValue()
- BigDecimal::getScale() => scale()
- BigDecimal::getIntegral() => integral()
- BigDecimal::getFraction() => fraction()
- BigRational::getNumerator() => numerator()
- BigRational::getDenominator() => denominator()
2015-07-03 16:17:23 +02:00
..
AbstractTestCase.php Remove get prefix in method names 2015-07-03 16:17:23 +02:00
BigDecimalTest.php Remove get prefix in method names 2015-07-03 16:17:23 +02:00
BigIntegerTest.php Remove get prefix in method names 2015-07-03 16:17:23 +02:00
BigRationalTest.php Remove get prefix in method names 2015-07-03 16:17:23 +02:00
CalculatorDetectTest.php Reworked Travis build matrix 2015-05-22 13:39:59 +02:00