from strategy import Order, ShippingCost
from strategy import FedExStrategy, PostalStrategy, UPSStrategy

#Test federal exprass shipping
order = Order("papas")
strategy = FedExStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
print(order.container)
assert cost == 3.0

#Test UPS shipping
order = Order("papas")
strategy =UPSStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 4.0
#Test Postal Service shipping
order = Order("papas")
strategy = PostalStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 5.0

print("Test passed")
89218fa2a507419779ce6753bd7345be97331a85
<mask token>

<mask token>
print(order.container)
assert cost == 3.0
<mask token>
assert cost == 4.0
<mask token>
assert cost == 5.0
print('Test passed')

<mask token>
order = Order('papas')
strategy = FedExStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
print(order.container)
assert cost == 3.0
order = Order('papas')
strategy = UPSStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 4.0
order = Order('papas')
strategy = PostalStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 5.0
print('Test passed')

from strategy import Order, ShippingCost
from strategy import FedExStrategy, PostalStrategy, UPSStrategy
order = Order('papas')
strategy = FedExStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
print(order.container)
assert cost == 3.0
order = Order('papas')
strategy = UPSStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 4.0
order = Order('papas')
strategy = PostalStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 5.0
print('Test passed')

from strategy import Order, ShippingCost
from strategy import FedExStrategy, PostalStrategy, UPSStrategy

#Test federal exprass shipping
order = Order("papas")
strategy = FedExStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
print(order.container)
assert cost == 3.0

#Test UPS shipping
order = Order("papas")
strategy =UPSStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 4.0
#Test Postal Service shipping
order = Order("papas")
strategy = PostalStrategy()
cost_calculator = ShippingCost(strategy)
cost = cost_calculator.shipping_cost_calc(order)
assert cost == 5.0

print("Test passed")