forked from diceguyd30/queso_to_go_template
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #3 from liquidnya/enhance-tests
Enhance tests
- Loading branch information
Showing
3 changed files
with
137 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# "username" will decide which of the messages are from the bot | ||
settings {"username":"helperblock","password":"","channel":"liquidnya","max_size":50,"level_timeout":10,"level_selection":[],"message_cooldown":5} | ||
# chatters | ||
chatters {"_links":{},"chatter_count":4,"chatters":{"broadcaster":["liquidnya"],"vips":[],"moderators":["furretwalkbot","streamelements"],"staff":[],"admins":[],"global_mods":[],"viewers":["viewerlevels"]}} | ||
# chatty chat log | ||
# ~ broadcaster | ||
# @ moderator | ||
# % subscriber | ||
|
||
# set test timer accuracy to 1 minute to accuratly test the weight | ||
accuracy 60000 | ||
|
||
[02:15:35] ~%?liquidnya: !clear | ||
[02:15:35] @^helperblock: The queue has been cleared! | ||
|
||
[16:26:45] ~%?liquidnya: !open | ||
[16:26:45] @^helperblock: The queue is now open! | ||
|
||
[16:26:45] ~%?liquidnya: !add NB0-1MD-SLG | ||
[16:26:45] @^helperblock: liquidnya, NB0-1MD-SLG has been added to the queue. | ||
|
||
[16:26:45] @^FurretWalkBot: !add NB0-1MD-SLG | ||
[16:26:46] @^helperblock: FurretWalkBot, NB0-1MD-SLG has been added to the queue. | ||
|
||
queso.save [{"code":"NB0-1MD-SLG","submitter":"liquidnya","username":"liquidnya"},{"code":"NB0-1MD-SLG","submitter":"FurretWalkBot","username":"furretwalkbot"}] | ||
|
||
[16:28:48] @^FurretWalkBot: !odds | ||
|
||
# TODO: is this a bug? | ||
|
||
restart | ||
|
||
[16:28:48] @^helperblock: FurretWalkBot, you have a 50.0% chance of getting chosen in weighted random. | ||
|
||
restart | ||
|
||
[16:31:48] ~%?liquidnya: !odds | ||
[16:31:48] @^helperblock: liquidnya, you have a 50.0% chance of getting chosen in weighted random. | ||
|
||
random 0.999 | ||
|
||
[16:31:48] ~%?liquidnya: !random | ||
[16:31:48] @^helperblock: Now playing NB0-1MD-SLG submitted by FurretWalkBot. | ||
|
||
restart | ||
|
||
[16:31:48] ~%?liquidnya: !punt | ||
[16:31:48] @^helperblock: Ok, adding the current level back into the queue. | ||
|
||
# TODO: BUG should have 0.0% | ||
# -> this is because the queue restarted before the 1min timer was reached | ||
# so the wait times were changed in memory, but have not been persisted yet | ||
|
||
[16:31:48] @^FurretWalkBot: !odds | ||
[16:31:48] @^helperblock: FurretWalkBot, you have a 50.0% chance of getting chosen in weighted random. | ||
|
||
[16:31:48] ~%?liquidnya: !odds | ||
[16:31:48] @^helperblock: liquidnya, you have a 50.0% chance of getting chosen in weighted random. | ||
|
||
restart | ||
|
||
[16:31:48] ~%?liquidnya: !odds | ||
[16:31:48] @^helperblock: liquidnya, you have a 50.0% chance of getting chosen in weighted random. | ||
|
||
restart |
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,46 @@ | ||
# "username" will decide which of the messages are from the bot | ||
settings {"username":"helperblock","password":"","channel":"liquidnya","max_size":50,"level_timeout":10,"level_selection":[],"message_cooldown":5} | ||
# chatters | ||
chatters {"_links":{},"chatter_count":4,"chatters":{"broadcaster":["liquidnya"],"vips":[],"moderators":["furretwalkbot","streamelements"],"staff":[],"admins":[],"global_mods":[],"viewers":["viewerlevels"]}} | ||
# chatty chat log | ||
# ~ broadcaster | ||
# @ moderator | ||
# % subscriber | ||
|
||
# set test timer accuracy to 1 minute to accuratly test the weight | ||
accuracy 60000 | ||
|
||
[02:15:35] ~%?liquidnya: !clear | ||
[02:15:35] @^helperblock: The queue has been cleared! | ||
|
||
[16:26:45] ~%?liquidnya: !open | ||
[16:26:45] @^helperblock: The queue is now open! | ||
|
||
[16:26:45] ~%?liquidnya: !add NB0-1MD-SLG | ||
[16:26:45] @^helperblock: liquidnya, NB0-1MD-SLG has been added to the queue. | ||
|
||
# one day passes | ||
[16:24:45] ~%?liquidnya: uwu | ||
|
||
[16:26:45] @^FurretWalkBot: !add NB0-1MD-SLG | ||
[16:26:46] @^helperblock: FurretWalkBot, NB0-1MD-SLG has been added to the queue. | ||
|
||
queso.save [{"code":"NB0-1MD-SLG","submitter":"liquidnya","username":"liquidnya"},{"code":"NB0-1MD-SLG","submitter":"FurretWalkBot","username":"furretwalkbot"}] | ||
|
||
[16:26:47] @^FurretWalkBot: !odds | ||
|
||
# TODO: is this a bug? | ||
|
||
[16:26:48] @^helperblock: FurretWalkBot, you have a 0.0% chance of getting chosen in weighted random. | ||
|
||
random 0.999 | ||
|
||
[16:26:48] ~%?liquidnya: !random | ||
[16:26:48] @^helperblock: Now playing NB0-1MD-SLG submitted by FurretWalkBot. | ||
|
||
[16:26:48] @^FurretWalkBot: !odds | ||
[16:26:48] @^helperblock: Your level is being played right now! | ||
|
||
[16:26:48] ~%?liquidnya: !odds | ||
|
||
[16:26:48] @^helperblock: liquidnya, you have a 100.0% chance of getting chosen in weighted random. |