Lab - Testcenter

Test Path local:aml/aml-redflags/redflags-roundamounts-isroundamount
Test URL http://dev.aficato.com/quality/?test=aml%2Faml-redflags%2Fredflags-roundamounts-isroundamount
Current Status PASSED
Attempts 1
Last Executed 2026-04-02 04:08:07
Runtime (s) 0.144
Test Script Hash 8201eb434f6b0f6d035a5fbb25f432dfd6d8f02a
First Execution 2019-09-24 14:58:05
Total Executions 18909
Test Log
HASH 8201eb434f6b0f6d035a5fbb25f432dfd6d8f02a

UNIT TEST AML_IsRoundAmount
URL dev.aficato.com/quality/?test=aml%2Faml-redflags%2Fredflags-roundamounts-isroundamount

INIT BEGIN
INIT END

TEST BEGIN
IsRoundAmount
Amount: 0
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: 1
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: -1
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: 1000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: -1000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: 1999
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: -1999
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: 100001
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: -100001
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: false
Result: false
Testcase PASSED!


IsRoundAmount
Amount: 2000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: 2100
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: 7000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: -7000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: 10000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: -10000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: 1000000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


IsRoundAmount
Amount: -1000000
Definition:
Array
(
    [1000000] => 4
    [100000] => 3
    [10000] => 2
    [2000] => 2
)

Expected: true
Result: true
Testcase PASSED!


TEST END

CLEANUP BEGIN
CLEANUP END

PROFILING: TOTAL RUNTIME (s)__________: 0.017 (0.017)
PROFILING: Web service consumption (s): 0.000
PROFILING: Local runtime (s)__________: 0.017
PROFILING: MEMORY CONSUMPTION_________: 585600


OK