(self, message, size)
| 178 | self.checked_public_tests = {} |
| 179 | |
| 180 | def add_padding(self, message, size): |
| 181 | # has to be transpilable |
| 182 | res = '' |
| 183 | message_length = len(message) # avoid php transpilation issue |
| 184 | missing_space = size - message_length - 0 # - 0 is added just to trick transpile to treat the .length as a string for php |
| 185 | if missing_space > 0: |
| 186 | for i in range(0, missing_space): |
| 187 | res += ' ' |
| 188 | return message + res |
| 189 | |
| 190 | async def test_method(self, method_name, exchange, args, is_public): |
| 191 | # todo: temporary skip for c# |
no test coverage detected