PHP 클래스 Money\MoneyTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ulabox/money

공개 메소드들

메소드 설명
convertTo ( )
testAddition ( )
testAdditionWithDecimals ( )
testComparison ( )
testDifferentCurrenciesCannotBeAdded ( )
testDifferentCurrenciesCannotBeCompared ( )
testDifferentCurrenciesCannotBeSubtracted ( )
testDivision ( )
testDivisorIsFloatZero ( )
testDivisorIsNumericZero ( )
testDivisorIsStringZero ( )
testFactoryMethod ( )
testFromAmountAndCurrency ( )
testGetters ( )
testHasSameCurrencyAs ( )
testInvalidMultiplicationOperand ( )
testMultiplication ( )
testNonNumericStringsThrowException ( )
testNumericValues ( )
testPositivity ( )
testRoundWithRounding ( )
testRoundWithoutRounding ( )
testSubtraction ( )
testSubtractionWithDecimals ( )

메소드 상세

convertTo() 공개 메소드

public convertTo ( )

testAddition() 공개 메소드

public testAddition ( )

testAdditionWithDecimals() 공개 메소드

testComparison() 공개 메소드

public testComparison ( )

testDifferentCurrenciesCannotBeAdded() 공개 메소드

testDifferentCurrenciesCannotBeCompared() 공개 메소드

testDifferentCurrenciesCannotBeSubtracted() 공개 메소드

testDivision() 공개 메소드

public testDivision ( )

testDivisorIsFloatZero() 공개 메소드

testDivisorIsNumericZero() 공개 메소드

testDivisorIsStringZero() 공개 메소드

testFactoryMethod() 공개 메소드

public testFactoryMethod ( )

testFromAmountAndCurrency() 공개 메소드

testGetters() 공개 메소드

public testGetters ( )

testHasSameCurrencyAs() 공개 메소드

testInvalidMultiplicationOperand() 공개 메소드

testMultiplication() 공개 메소드

public testMultiplication ( )

testNonNumericStringsThrowException() 공개 메소드

testNumericValues() 공개 메소드

public testNumericValues ( )

testPositivity() 공개 메소드

public testPositivity ( )

testRoundWithRounding() 공개 메소드

testRoundWithoutRounding() 공개 메소드

testSubtraction() 공개 메소드

public testSubtraction ( )

testSubtractionWithDecimals() 공개 메소드