From bebe515d19fa0c3669559c592267fad5e972ebe7 Mon Sep 17 00:00:00 2001 From: MasatoMakino Date: Wed, 26 Jun 2024 17:30:29 +0900 Subject: [PATCH] add : unit test --- __test__/postprocess/DisplacementMapShaderPass.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__test__/postprocess/DisplacementMapShaderPass.spec.ts b/__test__/postprocess/DisplacementMapShaderPass.spec.ts index 12471fb..96ff97b 100644 --- a/__test__/postprocess/DisplacementMapShaderPass.spec.ts +++ b/__test__/postprocess/DisplacementMapShaderPass.spec.ts @@ -24,4 +24,8 @@ describe("DisplacementMapShaderPass.accessor", () => { pass.strengthY = 0.5; expect(pass.strengthY).toBe(0.5); }); + + test("map getter and setter", () => { + expect(pass.map).toBeNull(); + }); });