async function assertGetVersionStringForLogging(
    brand, lowEntropy, highEntropy) {
  if (highEntropy === undefined) {
    highEntropy = lowEntropy;
  }
  const lowEntropyVersion =
      await userAgentBrowser.getVersionStringForLogging(brand);
  assertEquals(lowEntropy, lowEntropyVersion);
  try {
    await userAgentBrowser.fullVersionOf(brand)?.load();
  } catch (e) {
  }
  const highEntropyVersion =
      await userAgentBrowser.getVersionStringForLogging(brand);
  assertEquals(highEntropy, highEntropyVersion);
}
Assert that getVersionStringForLogging returns the most complete version
string for a given browser brand that is currently synchronously available.
@param {!userAgentBrowser.AllBrands} brand The brand for which
    the browser's version should be checked.
@param {string} lowEntropy The string that should be returned when only the
    major version is available, or the string that should always be returned
    (if highEntropy is not specified).
@param {string=} highEntropy The string that should be returned when the full
    version is available.