Skip to content

lesoson-9 testing questions #2519

Answered by krakxn
TimeKeyRoll asked this question in Q&A
Discussion options

You must be logged in to vote

Firstly, refer to @othaime-en 's reply.

"where is args is coming from?" I do not see args above. I think you should update the description :)

"And how assert ==1?" Could you paste the entire code snippet? It is more so of a "test" to compare whether the lotteryState is 1 (CALCULATING) or not (OPEN). Thus, we are "testing" whether the lottery is calculating or not.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@TimeKeyRoll
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TimeKeyRoll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants