test_card_file_decoder
Unit tests of CardFileDecoder
Functions:
decoder
decoder()
Initialize classical decoder
Source code in tests/test_card_file_decoder.py
9 10 11 12 | |
test_float
test_float(decoder)
Test decoding float numbers
Source code in tests/test_card_file_decoder.py
84 85 86 87 88 89 90 91 | |
test_integer
test_integer(decoder)
Test decoding integer numbers
Source code in tests/test_card_file_decoder.py
75 76 77 78 79 80 81 | |
test_invalid
test_invalid(decoder)
Test decoding invalid files
Source code in tests/test_card_file_decoder.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
test_list
test_list(decoder)
Test decoding of lists
Source code in tests/test_card_file_decoder.py
41 42 43 44 45 46 | |
test_literal
test_literal(decoder)
Test decoding standard key-value entries
Source code in tests/test_card_file_decoder.py
30 31 32 33 34 35 36 37 38 | |
test_logical
test_logical(decoder)
Test decoding logical values
Source code in tests/test_card_file_decoder.py
94 95 96 97 98 99 100 101 | |
test_nested_list
test_nested_list(decoder)
Test decoding of nested lists (lists of lists)
Source code in tests/test_card_file_decoder.py
49 50 51 52 53 54 55 56 | |
test_range
test_range(decoder)
Test decoding of ranges in the form START:STEP:END
Source code in tests/test_card_file_decoder.py
59 60 61 62 | |
test_section
test_section(decoder)
Test decoding sections
Source code in tests/test_card_file_decoder.py
15 16 17 18 19 20 21 22 23 24 25 26 27 | |
test_string
test_string(decoder)
Test decoding strings (quoted and unqoted)
Source code in tests/test_card_file_decoder.py
65 66 67 68 69 70 71 72 | |