def test_getValue_setValue(self):

    def test(output_prefix='', args=[]):
        old = self.emcc_args[:]
        self.emcc_args += args
        self.do_run(open(path_from_root('tests', 'core', 'getValue_setValue.cpp')).read(), open(path_from_root('tests', 'core', (('getValue_setValue' + output_prefix) + '.txt'))).read(), assert_returncode=None)
        self.emcc_args = old
    test(args=['-DDIRECT'])
    self.set_setting('EXTRA_EXPORTED_RUNTIME_METHODS', [])
    self.set_setting('ASSERTIONS', 1)
    test('_assert')
    self.set_setting('ASSERTIONS', 0)
    self.set_setting('EXTRA_EXPORTED_RUNTIME_METHODS', ['getValue', 'setValue'])
    test()
def test_getValue_setValue(self):

    def test(output_prefix=, args=[]):
        old = self.emcc_args[:]
        self.emcc_args += args
        self.do_run(open(path_from_root('tests', 'core', 'getValue_setValue.cpp')).read(), open(path_from_root('tests', 'core', (('getValue_setValue' + output_prefix) + '.txt'))).read(), assert_returncode=None)
        self.emcc_args = old
    test(args=['-DDIRECT'])
    self.set_setting('EXTRA_EXPORTED_RUNTIME_METHODS', [])
    self.set_setting('ASSERTIONS', 1)
    test('_assert')
    self.set_setting('ASSERTIONS', 0)
    self.set_setting('EXTRA_EXPORTED_RUNTIME_METHODS', ['getValue', 'setValue'])
    test()