Commit 467438f8 authored by Jakob Gabriel's avatar Jakob Gabriel Committed by Ferdinand Fischer
Browse files

unittests.quantity.testSymbolic: testSolveOde is like a zombie and comes back...

unittests.quantity.testSymbolic: testSolveOde is like a zombie and comes back again and again... deleted it again.
unittests.misc.ss.testSs: removed one 'domain' which was part of name-value-pair domain input.
-> all unittests work without errors!
parent 7de6f4cd
......@@ -12,7 +12,7 @@ n = 5;
phi0 = pi;
phi1 = exp(1);
p = quantity.Symbolic( misc.ss.setPointChange(phi0, phi1, time.lower, time.upper, n), 'domain', time);
p = quantity.Symbolic( misc.ss.setPointChange(phi0, phi1, time.lower, time.upper, n), time);
testCase.verifyEqual(p.at(time.lower), phi0, 'AbsTol', 1e-12);
testCase.verifyEqual(p.at(time.upper), phi1, 'AbsTol', 1e-10);
......@@ -27,14 +27,14 @@ p_np1 = diff(p, 't', n + 1);
testCase.verifyFalse( abs( p_np1.at(time.lower) ) < 1e-6);
testCase.verifyFalse( abs( p_np1.at(time.upper) ) < 1e-6);
end
end % testSetPointChange
function testRelativeDegree(tc)
mySs = ss([0, 1; 0, 0], [0, 1; 1, 0], [1, 0; 0, 1], []);
tc.verifyEqual(misc.ss.relativeDegree(mySs), [2, 1; 1, NaN]);
tc.verifyEqual(misc.ss.relativeDegree(mySs, "min"), 1);
tc.verifyEqual(misc.ss.relativeDegree(mySs, "max"), 2);
end
end % testRelativeDegree
function planPolynomialTrajectory(tc)
%%
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment