From 3f0831de009b97ab92bff35381140431f0d296bd Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 8 Apr 2022 08:57:27 +0800 Subject: [PATCH] modify test case for scalar_expression.py --- .../develop-test/2-query/scalar_expression.py | 52 +------------------ 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/tests/develop-test/2-query/scalar_expression.py b/tests/develop-test/2-query/scalar_expression.py index 992fbc2b44..36fe834e5f 100644 --- a/tests/develop-test/2-query/scalar_expression.py +++ b/tests/develop-test/2-query/scalar_expression.py @@ -52,56 +52,8 @@ class TDTestCase: tdSql.query('select floor(3.0)+ceil(4.0) from ct0;') tdSql.checkRows(50) - tdSql.checkData(0, 0, 7.0) - tdSql.checkData(1, 0, 7.0) - tdSql.checkData(2, 0, 7.0) - tdSql.checkData(3, 0, 7.0) - tdSql.checkData(4, 0, 7.0) - tdSql.checkData(5, 0, 7.0) - tdSql.checkData(6, 0, 7.0) - tdSql.checkData(7, 0, 7.0) - tdSql.checkData(8, 0, 7.0) - tdSql.checkData(9, 0, 7.0) - tdSql.checkData(10, 0, 7.0) - tdSql.checkData(11, 0, 7.0) - tdSql.checkData(12, 0, 7.0) - tdSql.checkData(13, 0, 7.0) - tdSql.checkData(14, 0, 7.0) - tdSql.checkData(15, 0, 7.0) - tdSql.checkData(16, 0, 7.0) - tdSql.checkData(17, 0, 7.0) - tdSql.checkData(18, 0, 7.0) - tdSql.checkData(19, 0, 7.0) - tdSql.checkData(20, 0, 7.0) - tdSql.checkData(21, 0, 7.0) - tdSql.checkData(22, 0, 7.0) - tdSql.checkData(23, 0, 7.0) - tdSql.checkData(24, 0, 7.0) - tdSql.checkData(25, 0, 7.0) - tdSql.checkData(26, 0, 7.0) - tdSql.checkData(27, 0, 7.0) - tdSql.checkData(28, 0, 7.0) - tdSql.checkData(29, 0, 7.0) - tdSql.checkData(30, 0, 7.0) - tdSql.checkData(31, 0, 7.0) - tdSql.checkData(32, 0, 7.0) - tdSql.checkData(33, 0, 7.0) - tdSql.checkData(34, 0, 7.0) - tdSql.checkData(35, 0, 7.0) - tdSql.checkData(36, 0, 7.0) - tdSql.checkData(37, 0, 7.0) - tdSql.checkData(38, 0, 7.0) - tdSql.checkData(39, 0, 7.0) - tdSql.checkData(40, 0, 7.0) - tdSql.checkData(41, 0, 7.0) - tdSql.checkData(42, 0, 7.0) - tdSql.checkData(43, 0, 7.0) - tdSql.checkData(44, 0, 7.0) - tdSql.checkData(45, 0, 7.0) - tdSql.checkData(46, 0, 7.0) - tdSql.checkData(47, 0, 7.0) - tdSql.checkData(48, 0, 7.0) - tdSql.checkData(49, 0, 7.0) + for i in range(0, 50): + tdSql.checkData(i, 0, 7.0) tdSql.query('select sum(c1)+3.0+4.0 from st0;') tdSql.checkRows(1) -- GitLab