mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add tests for moduloOrZero
This commit is contained in:
parent
88464d18b6
commit
a7d10dd0ce
@ -0,0 +1,5 @@
|
||||
1
|
||||
1
|
||||
1
|
||||
1
|
||||
1
|
5
dbms/tests/queries/0_stateless/01086_modulo_or_zero.sql
Normal file
5
dbms/tests/queries/0_stateless/01086_modulo_or_zero.sql
Normal file
@ -0,0 +1,5 @@
|
||||
select moduloOrZero(0, 0) = 0;
|
||||
select moduloOrZero(-128, -1) = 0;
|
||||
select moduloOrZero(-127, -1) = 0;
|
||||
select moduloOrZero(1, 1) = 0;
|
||||
select moduloOrZero(5, 3) = 2;
|
Loading…
Reference in New Issue
Block a user