Skip to content

Instantly share code, notes, and snippets.

@ivancorrales
Last active February 8, 2021 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivancorrales/cae596f443f5f0e124c764d9800a4ee1 to your computer and use it in GitHub Desktop.
Save ivancorrales/cae596f443f5f0e124c764d9800a4ee1 to your computer and use it in GitHub Desktop.
# feature-math-operations.hcl
description = <<EOF
This feature is used to demonstrate that both add and subs
operations work as expected.
EOF
input {
arg x {
default = 10
}
arg y {
default = 5
}
arg sumResult {
default = 15
}
arg subResult {
default = 5
}
}
after each {
print {
msg = "the output of this operation is ${result}"
}
}
includes = [
"scenario-sum.hcl",
"scenario-sub.hcl",
"scenario-mult.hcl"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment