machine_test.go 249 B

1234567891011121314151617
  1. package mac
  2. import "testing"
  3. var (
  4. mm MachMeta
  5. )
  6. func TestGetMacInfoImmutablePart(t *testing.T) {
  7. GetMacInfoImmutablePart(&mm)
  8. t.Logf("%v", mm)
  9. }
  10. func TestGetMachInfoMutablePart(t *testing.T) {
  11. GetMachInfoMutablePart(&mm)
  12. t.Logf("%v", mm)
  13. }