<commit_before>import createScene from "../createScene.js";
import Cesium3DTilesTester from "../Cesium3DTilesTester.js";
import {
  Cartesian3,
  Cesium3DTileFeature,
  Cesium3DTilePointFeature,
  Cesium3DTileset,
  Cesium3DTileStyle,
  ClassificationType,
  Color,
  ColorGeometryInstanceAttribute,
  destroyObject,
  Ellipsoid,
  GeometryInstance,
  Math as CesiumMath,
  Pass,
  PerInstanceColorAppearance,
  Primitive,
  Rectangle,
  RectangleGeometry,
  RenderState,
  StencilConstants,
} from "../../Source/Cesium.js";

describe("Scene/Vector3DTileContent", () => {
  let scene;
  let camera;
  let ellipsoid;

  let globeMockPrimitive;
  let tilesetMockPrimitive;

  let globePrimitive;
  let tilesetPrimitive;

  let depthColor;
  const whitePixel = [255, 255, 255, 255];
  const blackPixel = [0, 0, 0, 255];

  function MockPrimitive(primitive, pass) {
    this._primitive = primitive;
    this._pass = pass;
    this.show = true;
  }

  MockPrimitive.prototype.update = function (frameState) {
    if (!this.show) {
      return;
    }

    const commandList = frameState.commandList;
    const startLength = commandList.length;
    this._primitive.update(frameState);
<commit_msg>Formatting<commit_after>import createScene from "../createScene.js";
import Cesium3DTilesTester from "../Cesium3DTilesTester.js";
import {
  Cartesian3,
  Cesium3DTileFeature,
  Cesium3DTilePointFeature,
  Cesium3DTileset,
  Cesium3DTileStyle,
  ClassificationType,
  Color,
  ColorGeometryInstanceAttribute,
  destroyObject,
  Ellipsoid,
  GeometryInstance,
  Math as CesiumMath,
  Pass,
  PerInstanceColorAppearance,
  Primitive,
  Rectangle,
  RectangleGeometry,
  RenderState,
  StencilConstants,
} from "../../Source/Cesium.js";

describe("Scene/Vector3DTileContent", () => {
  let scene;
  let camera;
  let ellipsoid;

  let globeMockPrimitive;
  let tilesetMockPrimitive;

  let globePrimitive;
  let tilesetPrimitive;

  let depthColor;
  const whitePixel = [255.0, 255.0, 255.0, 255.0];
  const blackPixel = [0.0, 0.0, 0.0, 255.0];

  function MockPrimitive(primitive, pass) {
    this._primitive = primitive;
    this._pass = pass;
    this.show = true;
  }

  MockPrimitive.prototype.update = function (frameState) {
    if (!this.show) {
      return;
    }

    const commandList = frameState.commandList;
    const startLength = commandList.length;
    this._primitive.update(frameState);

{'fraction_non_alphanumeric': 0.10271398747390396, 'fraction_numerical': 0.025052192066805846, 'mean_word_length': 3.960662525879917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4638530', 'n_tokens_mistral': 830, 'n_tokens_neox': 791, 'n_words': 166}