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