浏览代码

Add test case

Garrett Johnson 5 年之前
父节点
当前提交
60ecaa2b56
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      TESTCASES.md

+ 15 - 0
TESTCASES.md

@@ -273,3 +273,18 @@ Verify no errors are logged.
 #### expected
 #### expected
 
 
 Verify that the stats display 125 geometries, 126 textures, and 1 programs.
 Verify that the stats display 125 geometries, 126 textures, and 1 programs.
+
+## Verify maxDepth limit does not stop at empty tiles
+
+#### steps
+
+1. Open the kitchen sink example by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/).
+1. Set `maxDepth` to 1.
+1. Verify that only 1 tile is visible.
+1. Open the kitchen sink example with the no root content tileset by navigating [here](https://nasa-ammos.github.io/3DTilesRendererJS/example/bundle/#../data/tileset-no-root-content.json).
+1. Set `maxDepth` to 1.
+1. Verify that 4 tiles are visible.
+
+#### expected
+
+The next shallowest tiles are visible past the `maxDepth` cutoff.