提交 7277657b 编写于 作者: L lanyill

差值曲线XTS用例

Signed-off-by: Nlanyill <lanyi3@huawei.com>
Change-Id: I1cb48c49aa5a43415d4c7db1f7d6e2f64cf794f2
上级 b0474bcf
...@@ -71,7 +71,7 @@ export default function CurveJsunit() { ...@@ -71,7 +71,7 @@ export default function CurveJsunit() {
console.info('curve ***** result_height is ' + result_height); console.info('curve ***** result_height is ' + result_height);
console.info('curve ***** result_width is ' + result_width); console.info('curve ***** result_width is ' + result_width);
var finalRes; var finalRes;
if ((Math.round(result_height)==44) && (Math.round(result_width)==44)) { if ((Math.round(result_height) == 44) && (Math.round(result_width) == 44)) {
finalRes = true; finalRes = true;
console.info('curve SurfaceChangedTest success'); console.info('curve SurfaceChangedTest success');
} else { } else {
...@@ -108,7 +108,7 @@ export default function CurveJsunit() { ...@@ -108,7 +108,7 @@ export default function CurveJsunit() {
console.info('curve1 ***** result_height1 is ' + result_height); console.info('curve1 ***** result_height1 is ' + result_height);
console.info('curve1 ***** result_width1 is ' + result_width); console.info('curve1 ***** result_width1 is ' + result_width);
var finalRes; var finalRes;
if ((Math.round(result_height)==78) && (Math.round(result_width)==78)) { if ((Math.round(result_height) == 78) && (Math.round(result_width) == 78)) {
finalRes = true; finalRes = true;
console.info('curve1 SurfaceChangedTest success'); console.info('curve1 SurfaceChangedTest success');
} else { } else {
...@@ -145,7 +145,7 @@ export default function CurveJsunit() { ...@@ -145,7 +145,7 @@ export default function CurveJsunit() {
console.info('curve2 ***** result_height2 is ' + result_height); console.info('curve2 ***** result_height2 is ' + result_height);
console.info('curve2 ***** result_width2 is ' + result_width); console.info('curve2 ***** result_width2 is ' + result_width);
var finalRes; var finalRes;
if ((Math.round(result_height)==50) && (Math.round(result_width)==50)) { if ((Math.round(result_height) == 50) && (Math.round(result_width) == 50)) {
finalRes = true; finalRes = true;
console.info('curve2 SurfaceChangedTest success'); console.info('curve2 SurfaceChangedTest success');
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册