From fddaddb1922cd91a4f42574017a02c7b907c0afe Mon Sep 17 00:00:00 2001
From: "dr. mia von steinkirch, phd"
<1130416+mvonsteinkirch@users.noreply.github.com>
Date: Fri, 17 Feb 2023 18:06:34 -0800
Subject: [PATCH] Update unit-testing.md
---
foundry/unit-testing.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/foundry/unit-testing.md b/foundry/unit-testing.md
index 66b1ac8..ae88d23 100644
--- a/foundry/unit-testing.md
+++ b/foundry/unit-testing.md
@@ -2,6 +2,16 @@
+### assert vs. require
+
+* Assert() should only be used to test for internal errors, and to check invariants.
+* Require() should be used to ensure valid conditions are met that cannot be detected until execution time.
+* You may optionally provide a message for require, but not for assert.
+
+
+
+
+
### functions