# MBDyn (C) is a multibody analysis code. 
# http://www.mbdyn.org
# 
# Copyright (C) 1996-2017
# 
# Pierangelo Masarati	<masarati@aero.polimi.it>
# Paolo Mantegazza	<mantegazza@aero.polimi.it>
# 
# Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano
# via La Masa, 34 - 20156 Milano, Italy
# http://www.aero.polimi.it
# 
# Changing this copyright notice is forbidden.
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation (version 2 of the License).
# 
# 
# 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.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
# 

module load: "../../../mbdyn-devel/modules/module-namespace/libmodule-namespace.la", test, test2;

set: const integer test::i = 1;
remark: "test::i expected: 1, actual", test::i;
set: const real test2::r = 2*test::i;
remark: "test2::r expected: 2, actual", test2::r;

namespace: test3;
set: const bool test3::b = TRUE;
remark: "test3::b expected: 1, actual", test3::b;
remark: "test3::b - 1 expected: 0, actual", test3::b - 1;

print symbol table;
print symbol table: test, test1, test2, test3;

print symbol table: all;
