Skip to content

Commit

Permalink
Merge pull request #98 from markovd18/feature/markovd18/signal-gen-tests
Browse files Browse the repository at this point in the history
Feature/markovd18/signal gen tests
  • Loading branch information
markovd18 authored Apr 28, 2021
2 parents 05c358d + f425a93 commit 3f3ae28
Show file tree
Hide file tree
Showing 42 changed files with 13,023 additions and 6,963 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ add_library(scgms_common "${SMARTCGMS_COMMON_DIR}/rtl/Dynamic_Library.cpp"
"${SMARTCGMS_COMMON_DIR}/utils/string_utils.cpp"
"${SMARTCGMS_COMMON_DIR}/utils/winapi_mapping.c"
"${SMARTCGMS_COMMON_DIR}/rtl/hresult.c"
"${SMARTCGMS_COMMON_DIR}/rtl/FilesystemLib.cpp")
"${SMARTCGMS_COMMON_DIR}/rtl/FilesystemLib.cpp"
"${SMARTCGMS_COMMON_DIR}/iface/DeviceIface.cpp")


file(GLOB APP ${PROJECT_SOURCE_DIR}/src/app/*.cpp)
Expand Down
31 changes: 14 additions & 17 deletions scenarios/01/config.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
; CSV File Log Replay
[Filter_001_{172EA814-9DF1-657C-1289-C71893F1D085}]
Log_File = ../scenarios/01/fda_sc.csv
Emit_Shutdown = True
; CSV File Log Replay
[Filter_001_{172EA814-9DF1-657C-1289-C71893F1D085}]
Log_File = fda_sc.csv
Emit_Shutdown = True
Filename_as_segment_id = false
; Signal generator
[Filter_002_{9EEB3451-2A9D-49C1-BA37-2EC0B00E5E6D}]
Model = {8114B2A6-B4B2-4C8D-A029-625CBDB682EF}
Feedback_Name = fb1
Synchronize_To_Signal = true
Synchronization_Signal = {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}
Stepping = 0.003472Time_Segment_Id = 1
Maximum_Time = 0.000000
Shutdown_After_Last = false
Parameters = 0.005000 0.005000 0.000000 0.100000 0.001000 0.001000 8.000000 10.000000 0.050000 0.010000 0.010000 0.010000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.500000 -10.000000 0.000000 -1.000000 0.000000 0.050000 0.028735 0.028344 0.000050 0.300000 0.100000 0.100000 12.000000 70.000000 0.220000 0.050000 0.050000 0.040000 95.000000 9.200000 220.000000 100.000000 0.000000 0.000000 0.000000 0.000000 0.000000 95.000000 0.000000 0.929000 -0.037000 0.000000 0.023310 0.000000 0.018600 0.950000 0.100000 0.100000 0.050000 1.000000 0.300000 0.300000 18.000000 100.000000 1.000000 1.000000 1.000000 1.000000 200.000000 20.000000 300.000000 300.000000 100.000000 200.000000 150.000000 150.000000 50.000000 300.000000 5.000000 2.000000 0.000000 5.000000 0.041667 0.000000 0.041667 1.500000; Log[Filter_003_{C0E942B9-3928-4B81-9B43-A347668200BA}]Log_File = log.csv
; Signal generator
[Filter_002_{9EEB3451-2A9D-49C1-BA37-2EC0B00E5E6D}]
Model = {8114B2A6-B4B2-4C8D-A029-625CBDB682EF}
Feedback_Name = fb1
Synchronize_To_Signal = true
Synchronization_Signal = {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}
Stepping = 0.003472Time_Segment_Id = 1
Maximum_Time = 0.000000
Shutdown_After_Last = falseEcho_Default_Parameters_As_Event = false
Parameters = 0.005000 0.005000 0.000000 0.100000 0.001000 0.001000 8.000000 10.000000 0.050000 0.010000 0.010000 0.010000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.500000 -10.000000 0.000000 -1.000000 0.000000 0.050000 0.028735 0.028344 0.000050 0.300000 0.100000 0.100000 12.000000 70.000000 0.220000 0.050000 0.050000 0.040000 95.000000 9.200000 220.000000 100.000000 0.000000 0.000000 0.000000 0.000000 0.000000 95.000000 0.000000 0.929000 -0.037000 0.000000 0.023310 0.000000 0.018600 0.950000 0.100000 0.100000 0.050000 1.000000 0.300000 0.300000 18.000000 100.000000 1.000000 1.000000 1.000000 1.000000 200.000000 20.000000 300.000000 300.000000 100.000000 200.000000 150.000000 150.000000 50.000000 300.000000 5.000000 2.000000 0.000000 5.000000 0.041667 0.000000 0.041667 1.500000; Log[Filter_003_{C0E942B9-3928-4B81-9B43-A347668200BA}]Log_File = log.csv
Expand Down
4,932 changes: 2,466 additions & 2,466 deletions scenarios/01/log.csv

Large diffs are not rendered by default.

2,466 changes: 2,466 additions & 0 deletions scenarios/01/reference_log.csv

Large diffs are not rendered by default.

19 changes: 2 additions & 17 deletions scenarios/02/config.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
; CSV File Log Replay
[Filter_001_{172EA814-9DF1-657C-1289-C71893F1D085}]
Log_File = ../scenarios/02/fda_sc.csv
Emit_Shutdown = True
Filename_as_segment_id = false
; Signal generator
[Filter_002_{9EEB3451-2A9D-49C1-BA37-2EC0B00E5E6D}]
Model = {8114B2A6-B4B2-4C8D-A029-625CBDB682EF}
Feedback_Name = fb1
Synchronize_To_Signal = true
Synchronization_Signal = {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}
Stepping = 0.003472Time_Segment_Id = 1
Maximum_Time = 0.000000
Shutdown_After_Last = false
; CSV File Log Replay[Filter_001_{172EA814-9DF1-657C-1289-C71893F1D085}]Log_File = fda_sc.csvEmit_Shutdown = TrueFilename_as_segment_id = false
; Signal generator[Filter_002_{9EEB3451-2A9D-49C1-BA37-2EC0B00E5E6D}]Model = {8114B2A6-B4B2-4C8D-A029-625CBDB682EF}Feedback_Name = fb1Synchronize_To_Signal = trueSynchronization_Signal = {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF}Stepping = 0.003472Time_Segment_Id = 1Maximum_Time = 0.000000Shutdown_After_Last = falseEcho_Default_Parameters_As_Event = false
Parameters = 0.005000 0.005000 0.000000 0.100000 0.001000 0.001000 8.000000 10.000000 0.050000 0.010000 0.010000 0.010000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.500000 -10.000000 0.000000 -1.000000 0.000000 0.050000 0.028735 0.028344 0.000050 0.300000 0.100000 0.100000 12.000000 70.000000 0.220000 0.050000 0.050000 0.040000 95.000000 9.200000 220.000000 100.000000 0.000000 0.000000 0.000000 0.000000 0.000000 95.000000 0.000000 0.929000 -0.037000 0.000000 0.023310 0.000000 0.018600 0.950000 0.100000 0.100000 0.050000 1.000000 0.300000 0.300000 18.000000 100.000000 1.000000 1.000000 1.000000 1.000000 200.000000 20.000000 300.000000 300.000000 100.000000 200.000000 150.000000 150.000000 50.000000 300.000000 5.000000 2.000000 0.000000 5.000000 0.041667 0.000000 0.041667 1.500000; Signal mapping[Filter_003_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {E1CD07EF-B079-4911-B79B-D203486101C8}Signal_Dst_Id = {F666F6C2-D7C0-43E8-8EE1-C8CAA8F860E5}; Signal mapping[Filter_004_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {582CFE11-68B9-4E5E-B50B-1978C077A84E}Signal_Dst_Id = {3034568D-F498-455B-AC6A-BCF301F69C9E}; Signal mapping[Filter_005_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {9CDDC004-12CA-4380-96FF-8319A8CE79A8}Signal_Dst_Id = {313A1C11-6BAC-46E2-8938-7353409F2FCD}; Signal mapping[Filter_006_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {3BD439F0-8B5A-4004-9B70-24E5E2523B7A}Signal_Dst_Id = {B74AA581-538C-4B30-B764-5BD0D97B0727}; Signal mapping[Filter_007_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {755CFD08-2B12-43B6-A455-58061568446E}Signal_Dst_Id = {DD057B62-CBD9-45E2-B102-DE941049A55A}; Signal mapping[Filter_008_{8FAB525C-5E86-AB81-12CB-D95B1588530A}]Signal_Src_Id = {FC556839-D6C0-4646-A346-0821D25F7E29}Signal_Dst_Id = {EE655943-06BF-4F9D-B27D-AACB3943FB91}; Log[Filter_009_{C0E942B9-3928-4B81-9B43-A347668200BA}]Log_File = log.csv
Expand Down
Loading

0 comments on commit 3f3ae28

Please sign in to comment.