Skip to content

Commit 1b0f33a

Browse files
authored
Update src/content/developers/docs/smart-contracts/testing/index.md
1 parent 786559c commit 1b0f33a

File tree

1 file changed

+1
-1
lines changed
  • src/content/developers/docs/smart-contracts/testing

1 file changed

+1
-1
lines changed

src/content/developers/docs/smart-contracts/testing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Bug bounty programs often attract a broad class of ethical hackers and independe
121121

122122
## Testing vs. formal verification {#testing-vs-formal-verification}
123123

124-
While testing is useful for confirming that a contract returns the expected results for some data inputs, it cannot conclusively prove the same for inputs not used during tests. Testing a smart contract cannot guarantee "functional correctness", meaning it cannot show that a program behaves as required for *all* sets of input values and conditions.
124+
While testing helps confirm that a contract returns the expected results for some data inputs, it cannot conclusively prove the same for inputs not used during tests. Testing a smart contract cannot guarantee "functional correctness", meaning it cannot show that a program behaves as required for *all* sets of input values and conditions.
125125

126126
As such, developers are encouraged to incorporate **formal verification** into their approach for assessing the correctness of smart contracts. Formal verification uses [formal methods](https://www.brookings.edu/techstream/formal-methods-as-a-path-toward-better-cybersecurity/)—mathematically rigorous techniques for specifying and verifying software.
127127

0 commit comments

Comments
 (0)