mainly tests (empty) and some theroy plots

This commit is contained in:
Silas Oettinghaus
2026-03-12 17:26:13 +01:00
parent 2a724b833f
commit 4c78a1e0b1
90 changed files with 1507 additions and 404 deletions

View File

@@ -0,0 +1,11 @@
classdef DP_Fiber_test < matlab.unittest.TestCase
% Test class for DP_Fiber
methods (Test)
function testExample(testCase)
% Example test case for DP_Fiber
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Optical_Demultiplex_test < matlab.unittest.TestCase
% Test class for Optical_Demultiplex
methods (Test)
function testExample(testCase)
% Example test case for Optical_Demultiplex
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Optical_Multiplex_test < matlab.unittest.TestCase
% Test class for Optical_Multiplex
methods (Test)
function testExample(testCase)
% Example test case for Optical_Multiplex
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Polarization_Controller_test < matlab.unittest.TestCase
% Test class for Polarization_Controller
methods (Test)
function testExample(testCase)
% Example test case for Polarization_Controller
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef CNLSE_plain_test < matlab.unittest.TestCase
% Test class for CNLSE_plain
methods (Test)
function testExample(testCase)
% Example test case for CNLSE_plain
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef CNLSE_test < matlab.unittest.TestCase
% Test class for CNLSE
methods (Test)
function testExample(testCase)
% Example test case for CNLSE
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef canUseGPU_test < matlab.unittest.TestCase
% Test class for canUseGPU
methods (Test)
function testExample(testCase)
% Example test case for canUseGPU
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef getNLstepsize_original_test < matlab.unittest.TestCase
% Test class for getNLstepsize_original
methods (Test)
function testExample(testCase)
% Example test case for getNLstepsize_original
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef getNLstepsize_test < matlab.unittest.TestCase
% Test class for getNLstepsize
methods (Test)
function testExample(testCase)
% Example test case for getNLstepsize
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef lin_step_original_test < matlab.unittest.TestCase
% Test class for lin_step_original
methods (Test)
function testExample(testCase)
% Example test case for lin_step_original
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef lin_step_test < matlab.unittest.TestCase
% Test class for lin_step
methods (Test)
function testExample(testCase)
% Example test case for lin_step
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef nl_step_original_test < matlab.unittest.TestCase
% Test class for nl_step_original
methods (Test)
function testExample(testCase)
% Example test case for nl_step_original
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef nl_step_test < matlab.unittest.TestCase
% Test class for nl_step
methods (Test)
function testExample(testCase)
% Example test case for nl_step
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef split_step_loop_test < matlab.unittest.TestCase
% Test class for split_step_loop
methods (Test)
function testExample(testCase)
% Example test case for split_step_loop
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef CIC_filter_test < matlab.unittest.TestCase
% Test class for CIC_filter
methods (Test)
function testExample(testCase)
% Example test case for CIC_filter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -12,7 +12,7 @@ classdef Duobinary_test < matlab.unittest.TestCase
properties (MethodSetupParameter)
% Define method-level parameters for PRBS and bit pattern
% i.e.: useprbs = {0,1};
useprbs = struct('true', 1); % variations: {0, 1}
useprbs = struct('true', 0); % variations: {0, 1}
M = struct('M2', 2, 'M4', 4, 'M6', 6, 'M8', 8); % variations: {2, 4, 6, 8}
O = struct('O10', 10,'O11', 11,'O12', 12,'O13', 13, 'O15', 15, 'O17', 17, 'O18', 18, 'O19', 19); % variations: {10, 15, 17}
end

View File

@@ -0,0 +1,11 @@
classdef FFE_DCremoval_adaptive_mu_test < matlab.unittest.TestCase
% Test class for FFE_DCremoval_adaptive_mu
methods (Test)
function testExample(testCase)
% Example test case for FFE_DCremoval_adaptive_mu
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef FFE_DCremoval_level_test < matlab.unittest.TestCase
% Test class for FFE_DCremoval_level
methods (Test)
function testExample(testCase)
% Example test case for FFE_DCremoval_level
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef FFE_Kalman_Feedback_test < matlab.unittest.TestCase
% Test class for FFE_Kalman_Feedback
methods (Test)
function testExample(testCase)
% Example test case for FFE_Kalman_Feedback
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef FFE_Kalman_test < matlab.unittest.TestCase
% Test class for FFE_Kalman
methods (Test)
function testExample(testCase)
% Example test case for FFE_Kalman
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef FFE_MLSE_test < matlab.unittest.TestCase
% Test class for FFE_MLSE
methods (Test)
function testExample(testCase)
% Example test case for FFE_MLSE
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef ML_MLSE_GPU_test < matlab.unittest.TestCase
% Test class for ML_MLSE_GPU
methods (Test)
function testExample(testCase)
% Example test case for ML_MLSE_GPU
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef ML_MLSE_test < matlab.unittest.TestCase
% Test class for ML_MLSE
methods (Test)
function testExample(testCase)
% Example test case for ML_MLSE
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Postfilter_test < matlab.unittest.TestCase
% Test class for Postfilter
methods (Test)
function testExample(testCase)
% Example test case for Postfilter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef MLSE_new_test < matlab.unittest.TestCase
% Test class for MLSE_new
methods (Test)
function testExample(testCase)
% Example test case for MLSE_new
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef MLSE_viterbi_test < matlab.unittest.TestCase
% Test class for MLSE_viterbi
methods (Test)
function testExample(testCase)
% Example test case for MLSE_viterbi
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Godard_Timing_Recovery_test < matlab.unittest.TestCase
% Test class for Godard_Timing_Recovery
methods (Test)
function testExample(testCase)
% Example test case for Godard_Timing_Recovery
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef MaxVar_Timing_Recovery_test < matlab.unittest.TestCase
% Test class for MaxVar_Timing_Recovery
methods (Test)
function testExample(testCase)
% Example test case for MaxVar_Timing_Recovery
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Time_Shifter_test < matlab.unittest.TestCase
% Test class for Time_Shifter
methods (Test)
function testExample(testCase)
% Example test case for Time_Shifter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Timing_Recovery_GPT_test < matlab.unittest.TestCase
% Test class for Timing_Recovery_GPT
methods (Test)
function testExample(testCase)
% Example test case for Timing_Recovery_GPT
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Timing_Recovery_Move_It_test < matlab.unittest.TestCase
% Test class for Timing_Recovery_Move_It
methods (Test)
function testExample(testCase)
% Example test case for Timing_Recovery_Move_It
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Timing_Recovery_test < matlab.unittest.TestCase
% Test class for Timing_Recovery
methods (Test)
function testExample(testCase)
% Example test case for Timing_Recovery
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Timing_Recovery_test < matlab.unittest.TestCase
% Test class for Timing_Recovery
methods (Test)
function testExample(testCase)
% Example test case for Timing_Recovery
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef TransmissionPerformance_test < matlab.unittest.TestCase
% Test class for TransmissionPerformance
methods (Test)
function testExample(testCase)
% Example test case for TransmissionPerformance
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Awg2Scope_test < matlab.unittest.TestCase
% Test class for Awg2Scope
methods (Test)
function testExample(testCase)
% Example test case for Awg2Scope
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef AwgKeysight_test < matlab.unittest.TestCase
% Test class for AwgKeysight
methods (Test)
function testExample(testCase)
% Example test case for AwgKeysight
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Exfo_laser_test < matlab.unittest.TestCase
% Test class for Exfo_laser
methods (Test)
function testExample(testCase)
% Example test case for Exfo_laser
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef LabDeviceTemplate_test < matlab.unittest.TestCase
% Test class for LabDeviceTemplate
methods (Test)
function testExample(testCase)
% Example test case for LabDeviceTemplate
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef OSA_Advantest_test < matlab.unittest.TestCase
% Test class for OSA_Advantest
methods (Test)
function testExample(testCase)
% Example test case for OSA_Advantest
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef OptAtten_test < matlab.unittest.TestCase
% Test class for OptAtten
methods (Test)
function testExample(testCase)
% Example test case for OptAtten
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef OptLaserN7714A_test < matlab.unittest.TestCase
% Test class for OptLaserN7714A
methods (Test)
function testExample(testCase)
% Example test case for OptLaserN7714A
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef OptPowerMeter8153A_test < matlab.unittest.TestCase
% Test class for OptPowerMeter8153A
methods (Test)
function testExample(testCase)
% Example test case for OptPowerMeter8153A
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef ScopeKeysight_test < matlab.unittest.TestCase
% Test class for ScopeKeysight
methods (Test)
function testExample(testCase)
% Example test case for ScopeKeysight
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Thor_PDFA_test < matlab.unittest.TestCase
% Test class for Thor_PDFA
methods (Test)
function testExample(testCase)
% Example test case for Thor_PDFA
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef DBHandler_test < matlab.unittest.TestCase
% Test class for DBHandler
methods (Test)
function testExample(testCase)
% Example test case for DBHandler
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Equalizerstruct_test < matlab.unittest.TestCase
% Test class for Equalizerstruct
methods (Test)
function testExample(testCase)
% Example test case for Equalizerstruct
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Metricstruct_test < matlab.unittest.TestCase
% Test class for Metricstruct
methods (Test)
function testExample(testCase)
% Example test case for Metricstruct
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef QueryFilter_test < matlab.unittest.TestCase
% Test class for QueryFilter
methods (Test)
function testExample(testCase)
% Example test case for QueryFilter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef SqlFilter_test < matlab.unittest.TestCase
% Test class for SqlFilter
methods (Test)
function testExample(testCase)
% Example test case for SqlFilter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef SqlOperator_test < matlab.unittest.TestCase
% Test class for SqlOperator
methods (Test)
function testExample(testCase)
% Example test case for SqlOperator
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef cleanUpTable_test < matlab.unittest.TestCase
% Test class for cleanUpTable
methods (Test)
function testExample(testCase)
% Example test case for cleanUpTable
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef groupIt_test < matlab.unittest.TestCase
% Test class for groupIt
methods (Test)
function testExample(testCase)
% Example test case for groupIt
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef removeGroupOutliers_test < matlab.unittest.TestCase
% Test class for removeGroupOutliers
methods (Test)
function testExample(testCase)
% Example test case for removeGroupOutliers
% Add your test code here
testCase.verifyTrue(true);
end
end
end

11
Tests/GifWriter_test.m Normal file
View File

@@ -0,0 +1,11 @@
classdef GifWriter_test < matlab.unittest.TestCase
% Test class for GifWriter
methods (Test)
function testExample(testCase)
% Example test case for GifWriter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Moveit_wrapper_test < matlab.unittest.TestCase
% Test class for Moveit_wrapper
methods (Test)
function testExample(testCase)
% Example test case for Moveit_wrapper
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef DataStorage_test < matlab.unittest.TestCase
% Test class for DataStorage
methods (Test)
function testExample(testCase)
% Example test case for DataStorage
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef Parameter_test < matlab.unittest.TestCase
% Test class for Parameter
methods (Test)
function testExample(testCase)
% Example test case for Parameter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef StorageParameter_test < matlab.unittest.TestCase
% Test class for StorageParameter
methods (Test)
function testExample(testCase)
% Example test case for StorageParameter
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef minimal_warehouse_example_test < matlab.unittest.TestCase
% Test class for minimal_warehouse_example
methods (Test)
function testExample(testCase)
% Example test case for minimal_warehouse_example
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef interpCurve_test < matlab.unittest.TestCase
% Test class for interpCurve
methods (Test)
function testExample(testCase)
% Example test case for interpCurve
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef build_wh_test < matlab.unittest.TestCase
% Test class for build_wh
methods (Test)
function testExample(testCase)
% Example test case for build_wh
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef CompleteRoutine_DifferentChannels_Fig3_test < matlab.unittest.TestCase
% Test class for CompleteRoutine_DifferentChannels_Fig3
methods (Test)
function testExample(testCase)
% Example test case for CompleteRoutine_DifferentChannels_Fig3
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef CompleteRoutine_test < matlab.unittest.TestCase
% Test class for CompleteRoutine
methods (Test)
function testExample(testCase)
% Example test case for CompleteRoutine
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef automate_JLT_plots_test < matlab.unittest.TestCase
% Test class for automate_JLT_plots
methods (Test)
function testExample(testCase)
% Example test case for automate_JLT_plots
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef automate_PTL_plot_new_test < matlab.unittest.TestCase
% Test class for automate_PTL_plot_new
methods (Test)
function testExample(testCase)
% Example test case for automate_PTL_plot_new
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef dispersion_only_test < matlab.unittest.TestCase
% Test class for dispersion_only
methods (Test)
function testExample(testCase)
% Example test case for dispersion_only
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef dispersion_validation_miniskript_test < matlab.unittest.TestCase
% Test class for dispersion_validation_miniskript
methods (Test)
function testExample(testCase)
% Example test case for dispersion_validation_miniskript
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef generatePlots_test < matlab.unittest.TestCase
% Test class for generatePlots
methods (Test)
function testExample(testCase)
% Example test case for generatePlots
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plot3dCurve_test < matlab.unittest.TestCase
% Test class for plot3dCurve
methods (Test)
function testExample(testCase)
% Example test case for plot3dCurve
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotBerVsZDW_test < matlab.unittest.TestCase
% Test class for plotBerVsZDW
methods (Test)
function testExample(testCase)
% Example test case for plotBerVsZDW
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotBerVsZdwFailureRate_test < matlab.unittest.TestCase
% Test class for plotBerVsZdwFailureRate
methods (Test)
function testExample(testCase)
% Example test case for plotBerVsZdwFailureRate
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotChannelSpacingAna_test < matlab.unittest.TestCase
% Test class for plotChannelSpacingAna
methods (Test)
function testExample(testCase)
% Example test case for plotChannelSpacingAna
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotCurve_test < matlab.unittest.TestCase
% Test class for plotCurve
methods (Test)
function testExample(testCase)
% Example test case for plotCurve
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotHistogram_test < matlab.unittest.TestCase
% Test class for plotHistogram
methods (Test)
function testExample(testCase)
% Example test case for plotHistogram
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plotViolin_test < matlab.unittest.TestCase
% Test class for plotViolin
methods (Test)
function testExample(testCase)
% Example test case for plotViolin
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -0,0 +1,11 @@
classdef plot_ber_distribution_test < matlab.unittest.TestCase
% Test class for plot_ber_distribution
methods (Test)
function testExample(testCase)
% Example test case for plot_ber_distribution
% Add your test code here
testCase.verifyTrue(true);
end
end
end

View File

@@ -3,7 +3,7 @@ function generateTests()
if ismac
cd('/Users/silasoettinghaus/Documents/MATLAB/imdd_simulation');
else
cd('C:\Users\Silas\Documents\MATLAB\imdd_simulation');
end
% Define the root folders for classes and tests
@@ -16,7 +16,7 @@ function generateTests()
end
% Get all .m files in the Classes folder and its subfolders
classFiles = dir(fullfile(classesFolder, '**', '*.m'));
classFiles = dir(fullfile(pwd,classesFolder, '**', '*.m'));
% Iterate over all class files
for i = 1:length(classFiles)