|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bench_Tests, seg_0117cb
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Etat, Nombre, Point;
use Etat, Nombre, Point;
package body Bench_Tests is
Max_Point : constant := 30;
Max_Iter : constant := 100;
------------------------------------------------------------------------------
function Creation_Objets_Test
(E : Etat.Object; N : Nombre.Object) return Boolean is
begin
return Etat.Value (E) = 0 and then Nombre.Value (N) < Max_Point;
end Creation_Objets_Test;
------------------------------------------------------------------------------
function Fin_Creation_Test (E : Etat.Object; N : Nombre.Object)
return Boolean is
begin
return Etat.Value (E) = 0 and then Nombre.Value (N) = Max_Point;
end Fin_Creation_Test;
------------------------------------------------------------------------------
function Recherche_Objet_Test
(E : Etat.Object; N : Nombre.Object; P : Point.Object)
return Boolean is
Ok : Boolean;
begin
return Etat.Value (E) > 0 and then Etat.Value (E) <= Max_Iter and then
Point.X (P) = Nombre.Value (N);
end Recherche_Objet_Test;
------------------------------------------------------------------------------
function Iteration_Test
(E : Etat.Object; N : Nombre.Object) return Boolean is
begin
return Etat.Value (E) > 0 and then
Etat.Value (E) <= Max_Iter and then Nombre.Value (N) = 0;
end Iteration_Test;
end Bench_Tests;
nblk1=4
nid=3
hdr6=4
[0x00] rec0=1d rec1=00 rec2=01 rec3=028
[0x01] rec0=10 rec1=00 rec2=04 rec3=000
[0x02] rec0=17 rec1=00 rec2=03 rec3=006
[0x03] rec0=0d rec1=00 rec2=04 rec3=000
tail 0x2170d7b0e8239672df880 0x42a00088462063c03
Free Block Chain:
0x3: 0000 00 02 03 fc 80 13 65 61 74 69 6f 6e 5f 4f 62 6a ┆ eation_Obj┆
0x2: 0000 00 00 00 30 80 20 66 5f 43 6f 6c 6c 65 63 74 69 ┆ 0 f_Collecti┆