Add multilingual Agila learning examples and Git practice guide

This commit is contained in:
Agila University committed 2026-11-01 14:08:37 +08:00
commit 85f487afb0
79 files changed
+813

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# A small bug report with reproducible evidence
Turn the threshold defect into a concise bug report and repair. Include independent expected results, a regression test, and a clearly stated limit.
- State a requirement and derive expectations before running.
- Show the smallest input that reveals the original mismatch.
- Demonstrate that the test fails for the defect and passes after the repair.
- Record the assertion policy and compiler command.
- Explain one untested requirement and propose the next relevant case.
+14
View File
@@ -0,0 +1,14 @@
pragma Assertion_Policy (Check);
with Ada.Text_IO;
procedure Main is
function Passed (Score : Integer) return Boolean is
begin
return Score >= 70;
end Passed;
begin
pragma Assert (not Passed (69));
pragma Assert (Passed (70));
pragma Assert (Passed (71));
Ada.Text_IO.Put_Line ("Threshold checks passed");
end Main;