public void NullInequality()
        {
            Utf32String x = new Utf32String("Hello");

            Assert.IsFalse(x == null);
            Assert.IsFalse(null == x);
        }
        void CheckIndexOf(string needle, string haystack, int expectedResult)
        {
            Utf32String bigNeedle   = new Utf32String(needle);
            Utf32String bigHaystack = new Utf32String(haystack);

            Assert.AreEqual(expectedResult, bigHaystack.IndexOf(bigNeedle));
        }
        public void NullEquality()
        {
            Utf32String x = null;
            Utf32String y = null;

            Assert.IsTrue(x == y);
        }
        public void IntegerArrayConstructorTakesACopy()
        {
            int[]       intArray = new int[] { 'a' };
            Utf32String text     = new Utf32String(intArray);

            intArray[0] = 'b';
            Assert.AreEqual("a", text.ToString());
        }