object iter;
Iterator iter;
void testInsertBig(){	object iter;	string str;	/* fill bstr with a lot of data */#ifdef __IGOR__	str = read_bytes(JORINDE_HTTPD+"tests/support/data.txt", 0, 65000);#else	str = read_file(JORINDE_HTTPD+"tests/support/data.txt", 0, 65000);#endif	bstr->insert(str);#ifdef __IGOR__	str = read_bytes(JORINDE_HTTPD+"tests/support/data.txt", 65000, 65000);#else	str = read_file(JORINDE_HTTPD+"tests/support/data.txt", 65000, 65000);#endif	bstr->insert(str);#ifdef __IGOR__	str = read_bytes(JORINDE_HTTPD+"tests/support/data.txt", 130000, 65000);#else	str = read_file(JORINDE_HTTPD+"tests/support/data.txt", 130000, 65000);#endif	bstr->insert(str);	/* length on a big string */	assert_equals(195000, bstr->length());	/* substr on a big string */	str = bstr->substr(64990, 23);	assert_equals("with the\n   information", str );	assert_equals(23, strlen(str));	/* substr on a big string over boundary */	str = bstr->substr(65518, 22);	assert_equals("chunk-ext-val  = token", str);	assert_equals(22, strlen(str));		/* substr on a big string at begging of chunk in middle */	str = bstr->substr(65536, 10);	assert_equals("oken | quo", str);	assert_equals(10, strlen(str));}