1# MBDyn (C) is a multibody analysis code. 2# http://www.mbdyn.org 3# 4# Copyright (C) 1996-2017 5# 6# Pierangelo Masarati <masarati@aero.polimi.it> 7# Paolo Mantegazza <mantegazza@aero.polimi.it> 8# 9# Dipartimento di Ingegneria Aerospaziale - Politecnico di Milano 10# via La Masa, 34 - 20156 Milano, Italy 11# http://www.aero.polimi.it 12# 13# Changing this copyright notice is forbidden. 14# 15# This program is free software; you can redistribute it and/or modify 16# it under the terms of the GNU General Public License as published by 17# the Free Software Foundation (version 2 of the License). 18# 19# 20# This program is distributed in the hope that it will be useful, 21# but WITHOUT ANY WARRANTY; without even the implied warranty of 22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23# GNU General Public License for more details. 24# 25# You should have received a copy of the GNU General Public License 26# along with this program; if not, write to the Free Software 27# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 28# 29 30module load: "../../../mbdyn-devel/modules/module-namespace/libmodule-namespace.la", test, test2; 31 32set: const integer test::i = 1; 33remark: "test::i expected: 1, actual", test::i; 34set: const real test2::r = 2*test::i; 35remark: "test2::r expected: 2, actual", test2::r; 36 37namespace: test3; 38set: const bool test3::b = TRUE; 39remark: "test3::b expected: 1, actual", test3::b; 40remark: "test3::b - 1 expected: 0, actual", test3::b - 1; 41 42print symbol table; 43print symbol table: test, test1, test2, test3; 44 45print symbol table: all; 46