Solidity contract test error : is not implicitly convertible to expected type uint256

I had this piece of code in my contract (just a property) and when i write my test, to my surprise i se that i need to include a function() parameter in the code to call it.

uint public _landCount;

// In test

contractInstance._landCount(); // Returns value.


Popular posts from this blog

PySpark - Working with JDBC Sqlite database