diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/particle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/particle.c b/tests/particle.c index 823ac12..2734eff 100644 --- a/tests/particle.c +++ b/tests/particle.c @@ -11,7 +11,10 @@ void test_particle() p0 = eiotas_require_particle(dom0); + check_cond(!eiotas_particle_has_dst(p0),"should be no destination"); + eiotas_particle_destinations_add(p0,"dom0/room0/door0?get"); + check_cond(eiotas_particle_has_dst(p0),"should be a destination"); eiotas_particle_destinations_add(p0," dom0/room0/door0?get "); eiotas_particle_destinations_add(p0," dom0/room0/door0?get "); eiotas_particle_destinations_add(p0,"dom0/room0/room1/doorx?get,door?get,dom0/room0/door0?get"); |