Test a function: Difference between revisions
Content added Content deleted
m (→{{header|Clojure}}: pallindrome? already returns a bool, no need for equality test) |
m (Ada: Fix link to AUnit, add link to Trendy Test) |
||
Line 53: | Line 53: | ||
For normal use there is pragma Assert, functioning the same as many other languages.<br> |
For normal use there is pragma Assert, functioning the same as many other languages.<br> |
||
For larger testing frameworks, there are packages like [ |
For larger testing frameworks, there are packages like [https://github.com/AdaCore/aunit Aunit] or [https://github.com/pyjarrett/trendy_test Trendy Test] |
||
<lang Ada>with Ada.Text_IO; |
<lang Ada>with Ada.Text_IO; |