Skip to content

Commit 47d0f44

Browse files
author
Vesselin Atanasov
committed
Add test for the remainder operator %
1 parent d3dbcba commit 47d0f44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/expressions_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ R"(
2020
{{ 7 / 3}}
2121
{{ 7 // 3 }}
2222
{{ 7 % intValue }}
23+
{{ 7 % 11 }}
2324
{{ 3 ** 4 }}
2425
{{ 10 ** -2 }}
2526
{{ 10/10 + 2*5 }}
@@ -48,6 +49,7 @@ R"(
4849
2.3333333
4950
2
5051
1
52+
4
5153
81
5254
0.01
5355
11

0 commit comments

Comments
 (0)