Skip to content

Commit

Permalink
Update: tests/2_concatenation.flv and test 2 in all.flv
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyOliver committed Jan 9, 2025
1 parent fd4d72d commit f1cbe8c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/2_concatenation.flv
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ serve(int_str);

const int_int = 1 + 2;
serve(int_int);

const array1 = [1, 2, 3];
const array2 = [4, 5, 6];
const array_concatenation_result = array1 + array2;
serve(array_concatenation_result); # [1, 2, 3, 4, 5, 6]
19 changes: 19 additions & 0 deletions src/tests/all.flv
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@ serve(name);
serve("Age:", age);


# Extra tests
const str_str = "X" + " Y";
serve(str_str);

const str_int = "X" + 1;
serve(str_int);

const int_str = 1 + "Y";
serve(int_str);

const int_int = 1 + 2;
serve(int_int);

const array1 = [1, 2, 3];
const array2 = [4, 5, 6];
const array_concatenation_result = array1 + array2;
serve(array_concatenation_result); # [1, 2, 3, 4, 5, 6]


# ==================================================
# 3
# ==================================================
Expand Down

0 comments on commit f1cbe8c

Please sign in to comment.