Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 625d42c7 authored by hhakim's avatar hhakim
Browse files

Add unit tests for matfaust.lazylinop.eye.

parent bf488ea2
Branches
No related tags found
No related merge requests found
classdef LazyLinearOpEyeTest < LazyLinearOpTest
properties (Constant = true)
%
end
methods(TestClassSetup)
end
methods (TestMethodSetup)
function addFaustToPath(this)
addpath(this.faust_paths{:})
set_path
end
function instantiateTestFaust(this)
import matfaust.lazylinop.aslazylinearoperator
import matfaust.lazylinop.eye
this.lop = eye(10, 15, -2);
this.lop2 = eye(10, 15);
this.lopA = full(this.lop);
this.lop2A = full(this.lop2);
this.lop3 = eye(size(this.lop, 2), 10, 2);
this.lop3A = full(this.lop3);
end
end
methods(TestMethodTeardown)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment