Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions devtools/test/absconvgaussTest.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
absconvgaussTest0();


function absconvgaussTest0()
%ABSCONVGAUSSTEST
%
% This file tests the absconvgauss routine

clearvars; close all;
addpaths_loc();
a = 0.75;

b = -0.75;
Expand Down Expand Up @@ -46,6 +48,11 @@
assert(min(errsg) < 1e-6);
end



end


function [d,d2] = acgder(x,a,b,h)
[~,d,d2] = chnk.spcl.absconvgauss(x,a,b,h);
end
12 changes: 9 additions & 3 deletions devtools/test/adapgausswtsTest.m
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
adapgausswtsTest0();


function adapgausswtsTest0()

%ADAPGAUSSWTSTEST
%
% define geometry and test adaptive integration routine

clearvars; close all;
iseed = 8675309;
rng(iseed);

zk = randn() + 1i*randn();

addpaths_loc();

cparams = [];
cparams.eps = 1.0e-10;
cparams.nover = 2;
Expand Down Expand Up @@ -116,3 +117,8 @@
matcomp = mat1(istart:iend,jstart:jend);

assert(norm(matcomp-mat,'inf') < 1e-11);


end


6 changes: 0 additions & 6 deletions devtools/test/addpaths_loc.m

This file was deleted.

13 changes: 10 additions & 3 deletions devtools/test/arclengthfunTest.m
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
arclengthfunTest0();


function arclengthfunTest0()
%ARCLENGTHFUNTEST tests the arclengthfun routine for computing distance
% along length of curve
%

clearvars; close all;
seed = 8675309;
rng(seed);
addpaths_loc();

% geometry parameters and construction

Expand Down Expand Up @@ -33,4 +35,9 @@
[s, nchs, ~] = arclengthfun(chnkrtotal);

assert(norm(s(:,1:nchs(1)) - ts) < 1e-12);
assert(norm(s(:,nchs(1)+1:end) - rfac*ts) < 1e-12);
assert(norm(s(:,nchs(1)+1:end) - rfac*ts) < 1e-12);


end


52 changes: 0 additions & 52 deletions devtools/test/auxiliary_testing_routs/green_sym.m

This file was deleted.

Loading
Loading