public void test_WriteL3SBML_Compartment_spatialDimensions()
        {
            string      expected  = "<compartment id=\"A\" spatialDimensions=\"2.1\" " + "constant=\"false\"/>";
            string      expected1 = "<compartment id=\"A\" constant=\"false\"/>";
            Compartment c         = D.createModel().createCompartment();

            c.setId("A");
            c.setConstant(false);
            c.setSpatialDimensions(2.1);
            assertEquals(true, equals(expected, c.toSBML()));
            c.unsetSpatialDimensions();
            assertEquals(true, equals(expected1, c.toSBML()));
        }
        public void test_WriteL3SBML_Compartment()
        {
            string      expected = "<compartment id=\"A\" constant=\"true\"/>";
            Compartment c        = D.createModel().createCompartment();

            c.setId("A");
            c.setConstant(true);
            assertEquals(true, equals(expected, c.toSBML()));
        }