Browse Source

Add test case

Garrett Johnson 5 năm trước cách đây
mục cha
commit
60ecaa2b56
1 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 15 0
      TESTCASES.md

+ 15 - 0
TESTCASES.md

@@ -273,3 +273,18 @@ Verify no errors are logged.
 #### expected
 
 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.