Testing correct operation {by using the properties of transmission codes three-level transmission codes, e.g. ternary}