Pulse/pkg/proxmox
rcourtman 0527f151a6 test: Add tests for CPUInfo.GetMHzString method
Add 11 test cases covering:
- Nil MHz returns empty string
- String MHz returned as-is
- Empty string handling
- Float64 formatted without decimals
- Float64 zero handling
- Float64 rounding for large values
- Int formatting
- Int zero handling
- Default formatting for other types (int64, bool, slice)

Coverage: GetMHzString 0% -> 100%
2025-12-01 22:29:30 +00:00
..
ceph.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
client.go chore: remove additional dead code 2025-11-27 05:13:26 +00:00
client_test.go test: Add tests for CPUInfo.GetMHzString method 2025-12-01 22:29:30 +00:00
cluster_client.go fix: recover unhealthy cluster nodes even when some nodes are healthy 2025-12-01 21:47:26 +00:00
cluster_client_test.go Add unit tests for cluster_client utility functions 2025-12-01 00:24:21 +00:00
replication.go Add replication monitoring plumbing and UI 2025-10-22 16:10:15 +00:00
replication_test.go Add unit tests for Proxmox replication utility functions 2025-11-30 02:35:11 +00:00
zfs.go Fix false ZFS log/cache warnings 2025-10-14 20:57:43 +00:00
zfs_test.go Add unit tests for ZFS device conversion functions 2025-12-01 09:03:48 +00:00