parent
4582c3e595
commit
1308327fae
|
@ -28,7 +28,7 @@ int main(){
|
||||||
// java-style_unicode: 119 bytes, 85 characters ??
|
// java-style_unicode: 119 bytes, 85 characters ??
|
||||||
|
|
||||||
std::cout << "################################################################################" << std::endl;
|
std::cout << "################################################################################" << std::endl;
|
||||||
std::cout << "Import String Tests" << std::endl;
|
std::cout << "Javacompat tests" << std::endl;
|
||||||
std::cout << "################################################################################" << std::endl;
|
std::cout << "################################################################################" << std::endl;
|
||||||
|
|
||||||
char* nextChar = new char;
|
char* nextChar = new char;
|
||||||
|
@ -78,10 +78,6 @@ int main(){
|
||||||
ASSERT(normalString == importedString);
|
ASSERT(normalString == importedString);
|
||||||
std::cout << "Passed Import Java string test." << std::endl;
|
std::cout << "Passed Import Java string test." << std::endl;
|
||||||
|
|
||||||
std::cout << "################################################################################" << std::endl;
|
|
||||||
std::cout << "Export String Tests" << std::endl;
|
|
||||||
std::cout << "################################################################################" << std::endl;
|
|
||||||
|
|
||||||
//using normalString from when we read the file earlier
|
//using normalString from when we read the file earlier
|
||||||
//there's no need to read the same file twice
|
//there's no need to read the same file twice
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
#include "../lib/javacompat.h++"
|
#include "../lib/javacompat.h++"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
std::cout << "=================================" << std::endl;
|
std::cout << "================================================================================" << std::endl;
|
||||||
std::cout << "NBT write string helper failure mode test" << std::endl;
|
std::cout << "NBT write string helper failure mode test" << std::endl;
|
||||||
std::cout << "=================================" << std::endl;
|
std::cout << "================================================================================" << std::endl;
|
||||||
std::cout << "This is supposed to abort." << std::endl;
|
std::cout << "This is supposed to abort." << std::endl;
|
||||||
std::vector<uint8_t>* exportedString = new std::vector<uint8_t>();
|
std::vector<uint8_t>* exportedString = new std::vector<uint8_t>();
|
||||||
std::string overrunString = std::string(0xFFFFF, '.');
|
std::string overrunString = std::string(0xFFFFF, '.');
|
||||||
|
|
Loading…
Reference in New Issue