Exemple #1
0
		public void StCreate()
		{
			SerializedType st = new PrimitiveType_v1(Domain.SignedInt, 4);
			Assert.AreEqual("prim(SignedInt,4)", st.ToString());
			st = new PointerType_v1(new PrimitiveType_v1(Domain.UnsignedInt, 4));
			Assert.AreEqual("ptr(prim(UnsignedInt,4))", st.ToString());
		}
Exemple #2
0
        public void StCreate()
        {
            SerializedType st = new PrimitiveType_v1(Domain.SignedInt, 4);

            Assert.AreEqual("prim(SignedInt,4)", st.ToString());
            st = new PointerType_v1(new PrimitiveType_v1(Domain.UnsignedInt, 4));
            Assert.AreEqual("ptr(prim(UnsignedInt,4))", st.ToString());
        }