We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when pasting the code into smartpy editor, there are some errors:
# Defines the contract test. @sp.add_test(name = "Test simple operations") def testSimpleOperations(): scenario = sp.test_scenario() # Instantiates the contract. myContract = SimpleOperations() scenario += myContract # # Calls the contract set method and converts output to html. scenario += myContract.set(op = 9) scenario += myContract.set(op = 17) scenario += myContract.divide(op = 6) scenario += myContract.factorial(op = 11) scenario += myContract.reverseFlag()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
when pasting the code into smartpy editor, there are some errors:
The text was updated successfully, but these errors were encountered: