Skip to content

Commit 772a06b

Browse files
Include output from example
1 parent 3ead42a commit 772a06b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Diff for: README.rst

+6-8
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Test and coverage
5050
To test the code on any platform, make sure to clone the GitHub repository to get the tests and run the following from
5151
the repository directory::
5252

53-
python -m unittest discover tests
53+
python -m unittest discover -v tests
5454

5555
Example
5656
=================
@@ -105,15 +105,13 @@ some!
105105
106106
Using the Untitled3.pdn in the tests/data directory, this is the text output:
107107

108-
Resulting polar domain image:
108+
.. code-block::
109109
110-
.. image:: http://polartransform.readthedocs.io/en/latest/_images/verticalLinesPolarImage_scaled3.png
111-
:alt: Polar image
110+
>>> print(layeredImage)
111+
pypdn.LayeredImage(width=800, height=600, version=System_Version(Major=4, Minor=21, Build=6589, Revision=7045), layers=[pypdn.Layer(name=Background, visible=True, isBackground=True, opacity=255, blendMode=<BlendType.Normal: 0>), pypdn.Layer(name=Layer 2, visible=True, isBackground=False, opacity=161, blendMode=<BlendType.Additive: 2>)])
112112
113-
Converting back to the cartesian image results in:
114-
115-
.. image:: http://polartransform.readthedocs.io/en/latest/_images/verticalLinesCartesianImage_scaled.png
116-
:alt: Cartesian image
113+
>>> print(layeredImage.layers)
114+
[pypdn.Layer(name=Background, visible=True, isBackground=True, opacity=255, blendMode=<BlendType.Normal: 0>), pypdn.Layer(name=Layer 2, visible=True, isBackground=False, opacity=161, blendMode=<BlendType.Additive: 2>)]
117115
118116
Roadmap & Bugs
119117
=================

0 commit comments

Comments
 (0)