diff --git a/arkui/ace_ets_component/entry/src/main/ets/test/ImageEffectsJsunit.test.ets b/arkui/ace_ets_component/entry/src/main/ets/test/ImageEffectsJsunit.test.ets index bfc2c388e2c94f43f3ba1dc3806e9288c34b45f0..d143fe13227dd667dcec532ac2092a32e346734f 100644 --- a/arkui/ace_ets_component/entry/src/main/ets/test/ImageEffectsJsunit.test.ets +++ b/arkui/ace_ets_component/entry/src/main/ets/test/ImageEffectsJsunit.test.ets @@ -405,7 +405,7 @@ export default function imageEffectsJsunit() { let strJsonNew = getInspectorByKey('centerRow5'); let objNew = JSON.parse(strJsonNew); console.info("[testImageEffects015] component objNew is: " + JSON.stringify(objNew)); - expect(objNew.$attrs.brightness).assertEqual(0.0000019999999949504854); + expect(objNew.$attrs.brightness).assertEqual(0); done(); }); @@ -520,7 +520,7 @@ export default function imageEffectsJsunit() { let strJsonNew = getInspectorByKey('centerRow6'); let objNew = JSON.parse(strJsonNew); console.info("[testImageEffects020] component objNew is: " + JSON.stringify(objNew)); - expect(objNew.$attrs.saturate).assertEqual(0.0000019999999949504854); + expect(objNew.$attrs.saturate).assertEqual(0); done(); }); @@ -634,7 +634,7 @@ export default function imageEffectsJsunit() { let strJsonNew = getInspectorByKey('centerRow7'); let objNew = JSON.parse(strJsonNew); console.info("[testImageEffects025] component objNew is: " + JSON.stringify(objNew)); - expect(objNew.$attrs.contrast).assertEqual(0.0000019999999949504854); + expect(objNew.$attrs.contrast).assertEqual(0); done(); });