Potential error when converting SpacecraftState to TLE
The static method stateToTle
from TLE class doesn't convert the orbit from the input SpacecraftState to the TEME frame required for TLEs. If the input frame is not TEME, that is most of the time, the converted TLE is not correct.
Tests miss the case because they only handle TLEs to build states and thus TEME is the only considered frame.