Skip to content

Commit 36c4daf

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/expressions_test.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ R"(
2020
{{ 7 / 3}}
2121
{{ 7 // 3 }}
2222
{{ 7 % intValue }}
23+
{{ 11 % 7 }}
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)