test_collective.py 634 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. __author__ = "Christian Heider Nielsen"
  4. __doc__ = r"""
  5. Created on 09/03/2020
  6. """
  7. from warg import kws_sink, prod, sink
  8. from draugr.python_utilities.debug import evaluate_context
  9. def test_a():
  10. print(evaluate_context(kws_sink, "str"))
  11. print(evaluate_context(kws_sink, 2))
  12. print(evaluate_context(kws_sink, 2.2))
  13. print(evaluate_context(prod, (2, 2)))
  14. print(evaluate_context(prod, (2.2, 2.2)))
  15. print(evaluate_context(prod, (2, 2.2)))
  16. print(evaluate_context(prod, (2.2, 2)))
  17. print(evaluate_context(sink, (2, 2), face=(2.2, 2)))