# ---------------------------------------------------------------------------
# - GEO0007.als                                                             -
# - afnix:geo service test unit                                             -
# ---------------------------------------------------------------------------
# - This program is free software;  you can redistribute it  and/or  modify -
# - it provided that this copyright notice is kept intact.                  -
# -                                                                         -
# - This program  is  distributed in  the hope  that it will be useful, but -
# - without  any  warranty;  without  even   the   implied    warranty   of -
# - merchantability or fitness for a particular purpose.  In no event shall -
# - the copyright holder be liable for any  direct, indirect, incidental or -
# - special damages arising in any way out of the use of this software.     -
# ---------------------------------------------------------------------------
# - copyright (c) 1999-2019 amaury darsch                                   -
# ---------------------------------------------------------------------------

# @info   point 3 test unit
# @author amaury darsch

# get the service
interp:library "afnix-geo"

# create a point 3 object
trans p3 (afnix:geo:Point3)
assert true (afnix:geo:point3-p p3)
assert "Point3" (p3:repr)

# create a new point and check
trans p3 (afnix:geo:Point3 1.0 2.0 3.0)
assert 1.0 (p3:get-x)
assert 2.0 (p3:get-y)
assert 3.0 (p3:get-z)
