diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-05 09:09:09 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-06-05 09:09:09 +0100 |
commit | f400051582a005e4a64377c21866b6cc11eeaeec (patch) | |
tree | 77ca6f3668520316b82f6daa14837b931cd75ab5 /Test | |
parent | a3409d5c2ed40f69e74f7d0edd25a46e1fab6668 (diff) | |
download | ADSBDecoder-f400051582a005e4a64377c21866b6cc11eeaeec.tar.gz ADSBDecoder-f400051582a005e4a64377c21866b6cc11eeaeec.zip |
Testing programm to debug decoder
Diffstat (limited to 'Test')
-rw-r--r-- | Test/main.swift | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Test/main.swift b/Test/main.swift new file mode 100644 index 0000000..8a8e001 --- /dev/null +++ b/Test/main.swift @@ -0,0 +1,17 @@ +// +// main.swift +// Test +// +// Created by Jacky Jack on 28/05/2024. +// + +import Foundation + +print("Decoder test") + +let decoder = Decoder("8d3c664c580d014ae16024650e6c") +if decoder.DataFormat == 17 { + if let d17 = decoder.getDataFormat17() { + print(d17) + } +} |