function this = add(this, varargin)
%CV.CVTESTGROUP.ADD  adds a cvtest to a cvtest group object

%   Copyright 1990-2015 The MathWorks, Inc.

for idx = 1:length(varargin)
    ccvt = varargin{idx};
    if isa(ccvt,'cvtest')
        cvt = ccvt;
    else
        cvt = cvtest(ccvt);
    end
    name = SlCov.CoverageAPI.getModelcovName(cvt.modelcov);
    this.m_data(name) = cvt.id;
end
