updates to changeover and tests

This commit is contained in:
2022-04-03 22:33:50 -07:00
parent 0f88864200
commit 88ce350a61
5 changed files with 312 additions and 6 deletions

View File

@@ -10,5 +10,5 @@ var (
// ErrNoValidPeriods occurs when an empty set of periods is passed or when ll periods are invalid
ErrNoValidPeriods = errors.New("error: no valid periods available")
// ErrNoNextChangeover occurs when GetNextChangeover is called but there are no changeovers after t
ErrNoNextChangeover = errors.New("error: no valid periods available")
ErrNoNextChangeover = errors.New("error: no valid changeovers available")
)