[FL-2601] Move Infrared unit test data to assets (#1396)
* Move samsung raw data to assets * Add more assets and fix bugs * Clean up code * Implement all raw data as assets * Remove input data from old test files * Better signal names * Better file opening logic * Implement loading parsed data from files * Move most of RC5 tests into assets * Add more test cases * Add more test cases * Eliminate RUN_DECODER macro * Better code structure * Implement run_encoder function * More encoder tests * Move all encoder tests to assets * Move all test data to assets * Normalise function names * Rename code files * Uncomment other tests * Swich test order to avoid weird memory leaks * UnitTests: cleanup output and redirect it into stdout * UnitTests: selectable tests and better reporting Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -0,0 +1,137 @@
|
||||
Filetype: IR tests file
|
||||
Version: 1
|
||||
#
|
||||
name: encoder_decoder_input1
|
||||
type: parsed_array
|
||||
count: 26
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 01 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 01 00 00 00
|
||||
command: 80 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 80 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 00 00 00 00
|
||||
command: 00 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FF 1F 00 00
|
||||
command: FF 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FE 1F 00 00
|
||||
command: FF 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FE 1F 00 00
|
||||
command: 7F 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FF 1F 00 00
|
||||
command: 7F 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FF 1F 00 00
|
||||
command: FF 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: FF 1F 00 00
|
||||
command: FF 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: AA 0A 00 00
|
||||
command: AA 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: false
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
protocol: NEC42
|
||||
address: 55 15 00 00
|
||||
command: 55 00 00 00
|
||||
repeat: true
|
||||
#
|
||||
Reference in New Issue
Block a user