Description:
This set of tests will verify that the DaoCore contract is initialized with the correct state upon deployment. It should check that the owner and name are set as expected and that deployment fails with invalid arguments.
Acceptance Criteria:
- A test case successfully deploys the contract and asserts that self.owner.read() returns the correct owner address provided to the constructor.
- A test case successfully deploys the contract and asserts that self.name.read() returns the correct name provided to the constructor.
- A test case asserts that self.admin_count.read() and self.member_count.read() are both initialized to 0.
- A test case attempts to deploy the contract with a zero address for the owner and asserts that the transaction reverts with the message 'Owner address cannot be zero'
Description:
This set of tests will verify that the DaoCore contract is initialized with the correct state upon deployment. It should check that the owner and name are set as expected and that deployment fails with invalid arguments.
Acceptance Criteria: