This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static final class StringIsEmpty { | |
@BeforeTemplate | |
boolean equalsEmptyString(String string) { | |
return string.equals(""); | |
} | |
@BeforeTemplate | |
boolean lengthEquals0(String string) { | |
return string.length() == 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
whitespace = " \t\n\r" | |
symbols = "()" | |
debug = False | |
# Shortcut function for print without newline | |
write = lambda x: print(x, end="") |