fix: Examples

This commit is contained in:
2025-10-21 14:56:55 -05:00
parent f204930d0e
commit a9561d299a
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
from formats import print_bill
from formats import BillPrinter
from tools import load_json
if __name__ == "__main__":
data = load_json('./test/fixtures/bill.json')
print_bill(data, "", "")
printer = BillPrinter("")
printer.print_bill(data, "")

View File

@@ -1,6 +1,7 @@
from formats import print_customer_order
from formats import CustomerOrderPrinter
from tools import load_json
if __name__ == "__main__":
data = load_json('./test/fixtures/customer_order.json')
print_customer_order(data, "", "")
printer = CustomerOrderPrinter("")
printer.print_order(data, "")