aboutsummaryrefslogtreecommitdiff
path: root/test_evaluate_expression.r
diff options
context:
space:
mode:
Diffstat (limited to 'test_evaluate_expression.r')
-rw-r--r--test_evaluate_expression.r9
1 files changed, 7 insertions, 2 deletions
diff --git a/test_evaluate_expression.r b/test_evaluate_expression.r
index cf60a67..256abea 100644
--- a/test_evaluate_expression.r
+++ b/test_evaluate_expression.r
@@ -1,4 +1,9 @@
-test_method <- function (arg_1, arg_2) {
+test_method <- function(arg_1, arg_2) {
result <- arg_1 + arg_2
return(result)
-} \ No newline at end of file
+}
+
+test_kwargs <- function(arg_1 = 1, arg_2 = 1) {
+ result <- arg_1 * arg_2
+ return(result)
+}