Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Money
MoneyTest
testDifferentCurrenciesCannotBeCompared
Money\MoneyTest::testDifferentCurrenciesCannotBeCompared PHP Method
MoneyTest Class Documentation
Datei anzeigen
Open project: ulabox/money
testDifferentCurrenciesCannotBeCompared()
public
method
public
testDifferentCurrenciesCannotBeCompared
( )
public function testDifferentCurrenciesCannotBeCompared() { Money::EUR(1)->equals(Money::USD(1)); }
MoneyTest
convertTo
testAddition
testAdditionWithDecimals
testComparison
testDifferentCurrenciesCannotBeAdded
testDifferentCurrenciesCannotBeCompared
testDifferentCurrenciesCannotBeSubtracted
testDivision
testDivisorIsFloatZero
testDivisorIsNumericZero
testDivisorIsStringZero
testFactoryMethod
testFromAmountAndCurrency
testGetters
testHasSameCurrencyAs
testInvalidMultiplicationOperand
testMultiplication
testNonNumericStringsThrowException
testNumericValues
testPositivity
testRoundWithRounding
testRoundWithoutRounding
testSubtraction
testSubtractionWithDecimals