PHP Class Money\MoneyTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: ulabox/money

Méthodes publiques

Méthode Description
convertTo ( )
testAddition ( )
testAdditionWithDecimals ( )
testComparison ( )
testDifferentCurrenciesCannotBeAdded ( )
testDifferentCurrenciesCannotBeCompared ( )
testDifferentCurrenciesCannotBeSubtracted ( )
testDivision ( )
testDivisorIsFloatZero ( )
testDivisorIsNumericZero ( )
testDivisorIsStringZero ( )
testFactoryMethod ( )
testFromAmountAndCurrency ( )
testGetters ( )
testHasSameCurrencyAs ( )
testInvalidMultiplicationOperand ( )
testMultiplication ( )
testNonNumericStringsThrowException ( )
testNumericValues ( )
testPositivity ( )
testRoundWithRounding ( )
testRoundWithoutRounding ( )
testSubtraction ( )
testSubtractionWithDecimals ( )

Method Details

convertTo() public méthode

public convertTo ( )

testAddition() public méthode

public testAddition ( )

testAdditionWithDecimals() public méthode

testComparison() public méthode

public testComparison ( )

testDifferentCurrenciesCannotBeAdded() public méthode

testDifferentCurrenciesCannotBeCompared() public méthode

testDifferentCurrenciesCannotBeSubtracted() public méthode

testDivision() public méthode

public testDivision ( )

testDivisorIsFloatZero() public méthode

testDivisorIsNumericZero() public méthode

testDivisorIsStringZero() public méthode

testFactoryMethod() public méthode

public testFactoryMethod ( )

testFromAmountAndCurrency() public méthode

testGetters() public méthode

public testGetters ( )

testHasSameCurrencyAs() public méthode

testInvalidMultiplicationOperand() public méthode

testMultiplication() public méthode

public testMultiplication ( )

testNonNumericStringsThrowException() public méthode

testNumericValues() public méthode

public testNumericValues ( )

testPositivity() public méthode

public testPositivity ( )

testRoundWithRounding() public méthode

testRoundWithoutRounding() public méthode

testSubtraction() public méthode

public testSubtraction ( )

testSubtractionWithDecimals() public méthode