ak;
    case 'natural':
      assert_true(type.endsWith("primary"), `Expected primary orientation for "${orientation}", got "${type}"`);
      break;
    case 'portrait':
      assert_true(type.startsWith("portrait"), `Expected portrait orientation for "${orientation}", got "${type}"`);
      break;
    case 'landscape':
      assert_true(type.startsWith("landscape"), `Expected landscape orientation for "${orientation}", got "${type}"`);
      break;
    default:
      assert_equals(type, orientation, "Expe