소스 검색

removed incorrect assertions

Raanan Weber 7 년 전
부모
커밋
9aa4988074
1개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 7 4
      Viewer/tests/unit/src/configuration/updateConfiguration.ts

+ 7 - 4
Viewer/tests/unit/src/configuration/updateConfiguration.ts

@@ -161,6 +161,13 @@ describe(name + " scene", () => {
                         g: 0.5,
                         b: 0.5
                     }
+                },
+                lab: {
+                    environmentMap: {
+                        tintLevel: 1,
+                        texture: "",
+                        rotationY: 0
+                    }
                 }
             });
 
@@ -168,10 +175,6 @@ describe(name + " scene", () => {
             assert.equal(viewer.sceneManager.mainColor.g, 0.5);
             assert.equal(viewer.sceneManager.mainColor.b, 0.5);
 
-            assert.equal(viewer.sceneManager.reflectionColor.r, 0.5);
-            assert.equal(viewer.sceneManager.reflectionColor.g, 0.5);
-            assert.equal(viewer.sceneManager.reflectionColor.b, 0.5);
-
             // to black
             viewer.updateConfiguration({
                 scene: {