diff options
| author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-10-09 16:25:09 -0500 |
|---|---|---|
| committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2023-10-09 16:25:09 -0500 |
| commit | 7fe152e1de2ce0ff9716d54bd03ec090a601824a (patch) | |
| tree | 0135b63f92f10c055f502ab91724ad8d08d6ed2e /factors/table_test.go | |
| parent | c50ece109cdb29ab5d3fa7444040b546da7e360c (diff) | |
factors: Give Type proper name & zero value
Diffstat (limited to 'factors/table_test.go')
| -rw-r--r-- | factors/table_test.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/factors/table_test.go b/factors/table_test.go index ab06aba..e288c3b 100644 --- a/factors/table_test.go +++ b/factors/table_test.go @@ -240,16 +240,16 @@ func TestPractical(t *testing.T) { tableTest(t, practical, practicalCases, stdEquals, "practical") } -var typeCases = map[uint]NumberType{ - 2: ColossallyAbundant, 3: NotPractical, 4: Superabundant, - 6: ColossallyAbundant, 8: OrderedExponent, 10: NotPractical, +var typeCases = map[uint]CompositenessType{ + 2: ColossallyAbundant, 3: None, 4: Superabundant, + 6: ColossallyAbundant, 8: OrderedExponent, 10: None, 12: ColossallyAbundant, 18: Practical, 20: Practical, 24: Superabundant, - 28: Practical, 30: OrderedExponent, 31: NotPractical, 34: NotPractical, - 60: ColossallyAbundant, 70: NotPractical, 90: Practical, 100: Practical, + 28: Practical, 30: OrderedExponent, 31: None, 34: None, + 60: ColossallyAbundant, 70: None, 90: Practical, 100: Practical, 120: ColossallyAbundant, 144: OrderedExponent, 180: Superabundant, 240: Superabundant, 360: ColossallyAbundant, 720: Superabundant, - 770: NotPractical, 900: OrderedExponent, 1680: Superabundant, - 1729: NotPractical, 6912: OrderedExponent, 10010: NotPractical, + 770: None, 900: OrderedExponent, 1680: Superabundant, + 1729: None, 6912: OrderedExponent, 10010: None, 10080: Superabundant, 15120: Superabundant, 25200: Superabundant, 27720: Superabundant, 55440: ColossallyAbundant, } |
