Assertions for vectors
More...Vector_Type |
Equal | |
Length |
Additional Asserts which produce more detailed diagnostic messages Diagnostics will be reported via the Report_Assertion function. The Report function is passed as a generic ot avoid dependence to AUnit.
38 | subtype Vector_Type is Vectors_Package.Vector; |
---|
48 | procedure Equal |
---|---|
49 | (Actual : Vector_Type; |
50 | Expected : Vector_Type; |
51 | Name : String; |
52 | Source : String := GNAT.Source_Info.File; |
53 | Line : Natural := GNAT.Source_Info.Line); |
Assert that a array is equal a given value
Actual value
Expected value
Name of variable or function restlt.
Source code
Line number
63 | procedure Length |
---|---|
64 | (Actual : Vector_Type; |
65 | Expected : Ada.Containers.Count_Type; |
66 | Name : String; |
67 | Source : String := GNAT.Source_Info.File; |
68 | Line : Natural := GNAT.Source_Info.Line); |
Assert that a array is of given length
Actual value
Expected value
Name of variable or function restlt.
Source code
Line number