update multivector examples
This commit is contained in:
@@ -28,7 +28,7 @@ Test of ``.frombytes()`` class method:
|
||||
>>> v1 == v1_clone
|
||||
True
|
||||
|
||||
Tests of ``format()`` with rectangular coordinates:
|
||||
Tests of ``format()`` with Cartesian coordinates:
|
||||
|
||||
>>> format(v1)
|
||||
'(3.0, 4.0)'
|
||||
@@ -37,6 +37,7 @@ Tests of ``format()`` with rectangular coordinates:
|
||||
>>> format(v1, '.3e')
|
||||
'(3.000e+00, 4.000e+00)'
|
||||
|
||||
|
||||
Tests of the ``angle`` method::
|
||||
|
||||
>>> Vector(0, 0).angle()
|
||||
@@ -49,6 +50,7 @@ Tests of the ``angle`` method::
|
||||
>>> abs(Vector(1, 1).angle() - math.pi/4) < epsilon
|
||||
True
|
||||
|
||||
|
||||
Tests of ``format()`` with polar coordinates:
|
||||
|
||||
>>> format(Vector(1, 1), 'p') # doctest:+ELLIPSIS
|
||||
|
||||
Reference in New Issue
Block a user