// Copyright 2018-2026 the Deno authors. MIT license.
import { assert } from "./test_util.ts";

Deno.test(function navigatorNumCpus() {
  assert(navigator.hardwareConcurrency > 0);
});

Deno.test(function navigatorUserAgent() {
  const pattern = /Deno\/\d+\.\d+\.\d+/;
  assert(pattern.test(navigator.userAgent));
});
