diff --git a/test/regressionmodel.jl b/test/regressionmodel.jl index 08c6114..065ce6c 100644 --- a/test/regressionmodel.jl +++ b/test/regressionmodel.jl @@ -6,22 +6,6 @@ using StatsAPI: RegressionModel, crossmodelmatrix, vif struct MyRegressionModel <: RegressionModel end -StatsAPI.modelmatrix(::MyRegressionModel) = [1 2; 3 4] -StatsAPI.vcov(::MyRegressionModel) = [1 0; 0 1] - -struct MyRegressionModel2 <: RegressionModel -end - -StatsAPI.modelmatrix(::MyRegressionModel2) = [1 2; 1 2] -StatsAPI.vcov(::MyRegressionModel2) = [1 0; 0 1] - -struct MyRegressionModel3 <: RegressionModel -end - -StatsAPI.modelmatrix(::MyRegressionModel3) = [1 2 3; 1 2 3] -StatsAPI.vcov(::MyRegressionModel3) = [1 0 0; 0 1 0; 0 0 1] - - @testset "TestRegressionModel" begin m = MyRegressionModel()