1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Adjustments to the test cases for the previous check-in to make them

cross-platform Linux/Mac/Windows.  Test chance only.  No change to core code.

FossilOrigin-Name: 0dddadbd5b217a48bb5c1b0568a03fbafb89dba98c577727bf4f79ff7e0ca849
This commit is contained in:
drh
2024-03-19 10:41:18 +00:00
parent 5ed044e893
commit 1fe31dcfab
3 changed files with 15 additions and 15 deletions

View File

@ -1567,19 +1567,19 @@ do_execsql_test func-38.100 {
#
do_execsql_test func-39.101 {
WITH RECURSIVE c(n) AS (VALUES(1) UNION ALL SELECT n+1 FROM c WHERE n<1)
SELECT quote(sum(1.7976931348623157e308)),
quote(avg(1.7976931348623157e308)),
quote(total(1.7976931348623157e308))
SELECT sum(1.7976931348623157e308),
avg(1.7976931348623157e308),
total(1.7976931348623157e308)
FROM c;
} {1.797693134862315708e+308 1.797693134862315708e+308 1.797693134862315708e+308}
} {1.79769313486232e+308 1.79769313486232e+308 1.79769313486232e+308}
for {set i 2} {$i<10} {incr i} {
do_execsql_test func-39.[expr {10*$i+100}] {
WITH RECURSIVE c(n) AS (VALUES(1) UNION ALL SELECT n+1 FROM c WHERE n<$i)
SELECT quote(sum(1.7976931348623157e308)),
quote(avg(1.7976931348623157e308)),
quote(total(1.7976931348623157e308))
SELECT sum(1.7976931348623157e308),
avg(1.7976931348623157e308),
total(1.7976931348623157e308)
FROM c;
} {9.0e+999 9.0e+999 9.0e+999}
} {Inf Inf Inf}
}
finish_test