|
From: peterpall <pet...@us...> - 2025-08-30 10:50:39
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Maxima CAS".
The branch, master has been updated
via f39e982fd144f806d198a4f9e9243706910c5f43 (commit)
from c9c414493e9fc62583522000191faacd2bdb9b79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f39e982fd144f806d198a4f9e9243706910c5f43
Author: Gunter Königsmann <gu...@pe...>
Date: Sat Aug 30 12:50:19 2025 +0200
wrstcse: More test cases
diff --git a/share/contrib/rtest_wrstcse.mac b/share/contrib/rtest_wrstcse.mac
index 1bdcd48df..008d06dc7 100644
--- a/share/contrib/rtest_wrstcse.mac
+++ b/share/contrib/rtest_wrstcse.mac
@@ -45,6 +45,18 @@ matrix(
);
wc_mintypmax(subst(vals,b));
[min=1,typ=2,max=3];
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],1,1,10)));
+10;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],1,1,10)));
+1;
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,10)));
+10;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,10)));
+-11;
+apply('max,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,1)));
+1;
+apply('min,wc_systematic(wc_mintypmax2tol(tol[1],-11,1,1)));
+-11;
ratsimp(wc_systematic(vals));
[[a=a,b=1],[a=a,b=2],[a=a,b=3],[a=b,b=1],[a=b,b=2],[a=b,b=3],[a=c,b=1],[a=c,b=2],[a=c,b=3]];
wc_ewc_simplify( ratsimp(wc_systematic(vals)));
@@ -77,5 +89,24 @@ wc_sensitivities((100*(tol["R2"]/100+1)*(tol["Temp"]/100+1)*U_In)/(100*(tol["R2"
matrix([tol["R2"],U_In/400],[tol["R1"],-(U_In/400)],[tol["Temp"],0]);
wc_distrib2rssparams([1,2,2,1]);
wc_rssparams(1/3,3/2);
+vals:[R_1=100*(1+1/100*tol["R1"])*(1+1/100*tol["Temp"]),R_2=200*(1+1/100*tol["R2"])*(1+1/100*tol["Temp"])];
+[R_1 = 100*(tol["R1"]/100+1)*(tol["Temp"]/100+1),
+ R_2 = 200*(tol["R2"]/100+1)*(tol["Temp"]/100+1)];
+wc_inputvalueassumptions(%);
+[R_2 >= 9801/50,R_2 <= 10201/50,R_1 >= 9801/100,R_1 <= 10201/100];
+is(R_1>R_2);
+false;
+is(R_1>90);
+true;
+is(R_1>200);
+false;
+is(R_1<200);
+true;
+is(R_1>100);
+unknown;
+(kill(R_1),done);
+done;
+(kill(R_2),done);
+done;
(kill(val1),done);
done;
-----------------------------------------------------------------------
Summary of changes:
share/contrib/rtest_wrstcse.mac | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
hooks/post-receive
--
Maxima CAS
|