no longer skip f32 and f64 now that they work consistently
This commit is contained in:
committed by
Bennet Bleßmann
parent
36bdab84ba
commit
9cccd509e3
@@ -10,10 +10,6 @@ test :-
|
|||||||
ffi:'construct'(8, 12, 46, 40, 127, 1.368, -4.587, PG),
|
ffi:'construct'(8, 12, 46, 40, 127, 1.368, -4.587, PG),
|
||||||
write(("PG"-PG)), nl,
|
write(("PG"-PG)), nl,
|
||||||
ffi:'modify'(PG, [pg, A, B, C, D, A2, E, F]),
|
ffi:'modify'(PG, [pg, A, B, C, D, A2, E, F]),
|
||||||
% skipping E & F for now as the result changes between runs for some reason
|
write(("PG2"-[pg, A, B, C, D, A2, E, F])), nl.
|
||||||
write(("PG2"-[pg, A, B, C, D, A2, "skip", "skip"])), nl,
|
|
||||||
% avoide singelton warning
|
|
||||||
E = _,
|
|
||||||
F = _.
|
|
||||||
|
|
||||||
:- initialization(test).
|
:- initialization(test).
|
||||||
|
|||||||
@@ -243,6 +243,6 @@ fn ffi_struct() {
|
|||||||
load_module_test_with_input(
|
load_module_test_with_input(
|
||||||
"tests-pl/ffi_struct.pl",
|
"tests-pl/ffi_struct.pl",
|
||||||
format!("LIB={dynlib_path:?}."),
|
format!("LIB={dynlib_path:?}."),
|
||||||
"[P,G]-[pg,8,12,46,40,127,1.3680000305175781,-4.587]\n[P,G,2]-[pg,127,65523,4294967249,18446744073709551575,8,[s,k,i,p],[s,k,i,p]]\n",
|
"[P,G]-[pg,8,12,46,40,127,1.3680000305175781,-4.587]\n[P,G,2]-[pg,127,65523,4294967249,18446744073709551575,8,-1.3680000305175781,4.587]\n",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user