def test_fgetc_unsigned(self):
    src = '\n      #include <stdio.h>\n      int main() {\n        FILE *file = fopen("file_with_byte_234.txt", "rb");\n        int c = fgetc(file);\n        printf("*%d\\n", c);\n      }\n    '
    create_test_file('file_with_byte_234.txt', b'\xea', binary=True)
    self.emcc_args += ['--embed-file', 'file_with_byte_234.txt']
    self.do_run(src, '*234\n')
def test_fgetc_unsigned(self):
    src = '\n      #include <stdio.h>\n      int main() {\n        FILE *file = fopen("file_with_byte_234.txt", "rb");\n        int c = fgetc(file);\n        printf("*%d\\n", c);\n      }\n    '
    create_test_file('file_with_byte_234.txt', b'\xea', binary=True)
    self.emcc_args += ['--embed-file', 'file_with_byte_234.txt']
    self.do_run(src, '*234\n')