original.sol 606 B

1234567891011121314151617181920212223242526
  1. contract CounterTest is Test {
  2. /**
  3. * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
  4. */
  5. constructor(string memory name_, string memory symbol_) {
  6. _name = name_;
  7. _symbol = symbol_;
  8. }
  9. /**
  10. * @dev See {IERC721-balanceOf}.
  11. */
  12. function test_Increment() public {
  13. counter.increment();
  14. assertEq(counter.number(), 1);
  15. }
  16. /**
  17. * @dev See {IERC165-supportsInterface}.
  18. */ function test_Increment() public {
  19. counter.increment();
  20. assertEq(counter.number(), 1);
  21. }
  22. }