-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from Pylons-tech/cel_type_conversion_unit_tes…
…t_and_doc fixture test for coinoutput with input and unit test for mix of randi, int, double function
- Loading branch information
Showing
6 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
cmd/fixtures_test/executions/hlg_coin_program_with_input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"RecipeName":"Helicopter's Hlg Coin Generation From Input Recipe", | ||
"Sender":"michael", | ||
"ItemNames":["Helicopter's Knife lv3"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"Doubles": [{ "Key": "attack", "Value": "3" }], | ||
"Longs": [{ "Key": "level", "Value": "3" }], | ||
"Strings": [{ "Key": "Name", "Value": "Helicopter's Knife lv3" }], | ||
"CookbookName": "helicopter", | ||
"Sender": "michael" | ||
} |
23 changes: 23 additions & 0 deletions
23
cmd/fixtures_test/recipes/hlg_coin_program_with_input.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"RType": "0", | ||
"CoinInputs":[], | ||
"ItemInputRefs": [ | ||
"./recipes/item_input/heli_knife_lv3.json" | ||
], | ||
"Entries":{ | ||
"CoinOutputs":[ | ||
{ | ||
"Coin": "hlgcoin", | ||
"Program": "int(attack * double(5))", | ||
"Weight": 1 | ||
} | ||
], | ||
"ItemOutputs":[] | ||
}, | ||
"ExtraInfo":"", | ||
"Sender":"eugen", | ||
"Name": "Helicopter's Hlg Coin Generation From Input Recipe", | ||
"CookbookName": "helicopter", | ||
"Description": "this has to meet character limits lol", | ||
"BlockInterval":"0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"Doubles": [{"Key": "attack", "MinValue": "3", "MaxValue": "3"}], | ||
"Longs": [{"Key": "level", "MinValue": "3", "MaxValue": "3"}], | ||
"Strings": [{"Key": "Name", "Value": "Helicopter's Knife lv3"}] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters