test(types,common): add unit tests, fix goimports formatting

- Add tests for types package: NewDataSet, NewCommit, Commit.String,
  Freq.Merge, DataSet operations
- Add tests for graph/common package: MinMax, ColorForFrequency,
  CreateGraph, SetColorScheme
- Fix goimports alignment in common.go and settings.go
This commit is contained in:
2026-03-11 06:01:45 +00:00
parent b3f19b0a40
commit 30dea2c239
5 changed files with 589 additions and 8 deletions

View File

@@ -17,13 +17,13 @@ const (
type (
SettingsCursor int
Settings struct {
AllAuthors selectablelist
SelectedAuthors []string
AllRepos selectablelist
SelectedRepos []string
cursor SettingsCursor
AuthorList list.Model
RepoList list.Model
AllAuthors selectablelist
SelectedAuthors []string
AllRepos selectablelist
SelectedRepos []string
cursor SettingsCursor
AuthorList list.Model
RepoList list.Model
}
)