We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f100f commit a66d13eCopy full SHA for a66d13e
tests.lgt
@@ -11,7 +11,10 @@
11
div/3,
12
mid/2,
13
wid/2,
14
- abs/2
+ mag/2,
15
+ mig/2,
16
+ intersection/3,
17
+ hull/3
18
]).
19
20
cover(interval_arithmetic).
@@ -119,14 +122,14 @@
119
122
Wid == 1.
120
123
121
124
% abs/2 tests
- test(interval_arithmetic_abs_2_01, deterministic) :-
125
+ test(interval_arithmetic_mag_2_01, deterministic) :-
126
new(-3, 2, X),
- abs(X, Abs),
- Abs == 3.
127
+ abs(X, Mag),
128
+ Mag == 3.
129
- test(interval_arithmetic_abs_2_02, fail) :-
130
+ test(interval_arithmetic_mag_2_02, fail) :-
131
- Abs == 2.
132
133
+ Mag == 2.
134
135
:- end_object.
0 commit comments