! Copyright (C) 2013 Loryn Jenkins. ! See http://factorcode.org/license.txt for BSD license. USING: tools.test financial-functions ; IN: financial-functions.tests [ 4 ] [ 7000.00 H{ { 1 4000.00 } { 2 400.00 } { 3 3000.00 } { 4 2000.00 } { 5 1000.00 } } >hashtable payback ] unit-test