Revert "Restructure to keep __main__ free to be used when using codegen as part"
This reverts commit 87abfe8900.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
def main():
|
||||
pass
|
||||
|
||||
from .codegen import test_str8, test_doubly_linked_list, test_typed_array
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
test_str8()
|
||||
test_typed_array()
|
||||
test_doubly_linked_list()
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
from .codegen_example import test_str8, test_doubly_linked_list, test_typed_array
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_str8()
|
||||
test_typed_array()
|
||||
test_doubly_linked_list()
|
||||
Reference in New Issue
Block a user