2024-03-17 09:10:05 +00:00
|
|
|
package moon_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
"time"
|
|
|
|
|
2024-03-19 21:29:37 +00:00
|
|
|
"code.humancabbage.net/sam/moonmath/moon"
|
2024-03-17 09:10:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestCDPR(t *testing.T) {
|
|
|
|
}
|
|
|
|
|
|
|
|
func TestProjection(t *testing.T) {
|
2024-03-30 02:19:38 +00:00
|
|
|
p := moon.ProjectDates(time.Now(), 68900, 1.0055, []moon.Goal{
|
|
|
|
{"$100k", 100000},
|
|
|
|
{"$150k", 150000},
|
|
|
|
{"$200k", 200000},
|
|
|
|
{"$250k", 250000},
|
|
|
|
{"$300k", 300000},
|
|
|
|
{"$500k", 500000},
|
|
|
|
{"$1m", 1000000},
|
|
|
|
})
|
2024-03-17 09:10:05 +00:00
|
|
|
_ = p
|
|
|
|
}
|