Exemplo n.º 1
0
        public void ToString_Length_Null()
        {
            var v = new VALS(null);

            Aver.AreEqual(0, v.Length);
            Aver.AreEqual((string)null, v.ToString());
        }
Exemplo n.º 2
0
        public void ToString_Length_Empty()
        {
            var v = new VALS("");

            Aver.AreEqual(0, v.Length);
            Aver.AreEqual((string)null, v.ToString());
        }
Exemplo n.º 3
0
        public void ToString_Length()
        {
            var v = new VALS("0123456789012345");

            Aver.AreEqual(16, v.Length);
            Aver.AreEqual("0123456789012345", v.ToString());
        }
Exemplo n.º 4
0
        public void Basic()
        {
            VALS vs  = new VALS("012345678901234567890123456789012345678912345678");
            var  vs2 = new VALS("012345678901234567890123456789012345678912345678");

            System.Runtime.InteropServices.Marshal.SizeOf <VALS>().See();

            Aver.AreEqual("012345678901234567890123456789012345678912345678", vs.ToString());
        }