Exemplo n.º 1
0
        public void WipeUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex(); // TODO: Initialize to an appropriate value

            target.Wipe();
        }
Exemplo n.º 2
0
        public void AddOrUpdateUnitTest()
        {
            var           target       = new SingleValueIndex(); // TODO: Initialize to an appropriate value
            object        keyObject    = null;                   // TODO: Initialize to an appropriate value
            AGraphElement graphElement = null;                   // TODO: Initialize to an appropriate value

            target.AddOrUpdate(keyObject, graphElement);
        }
Exemplo n.º 3
0
        public void RemoveValueUnitTest()
        {
            Assert.Inconclusive("TODO");

            var           target       = new SingleValueIndex(); // TODO: Initialize to an appropriate value
            AGraphElement graphElement = null;                   // TODO: Initialize to an appropriate value

            target.RemoveValue(graphElement);
        }
Exemplo n.º 4
0
        public void CountOfKeysUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target   = new SingleValueIndex(); // TODO: Initialize to an appropriate value
            int expected = 0;                      // TODO: Initialize to an appropriate value
            int actual;

            actual = target.CountOfKeys();
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 5
0
        public void ValuesUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex();  // TODO: Initialize to an appropriate value
            List <AGraphElement> expected = null; // TODO: Initialize to an appropriate value
            List <AGraphElement> actual;

            actual = target.Values();
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 6
0
        public void GetKeysUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex();  // TODO: Initialize to an appropriate value
            IEnumerable <object> expected = null; // TODO: Initialize to an appropriate value
            IEnumerable <object> actual;

            actual = target.GetKeys();
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 7
0
        public void GetKeyValuesUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex();                                                       // TODO: Initialize to an appropriate value
            IEnumerable <KeyValuePair <object, ReadOnlyCollection <AGraphElement> > > expected = null; // TODO: Initialize to an appropriate value
            IEnumerable <KeyValuePair <object, ReadOnlyCollection <AGraphElement> > > actual;

            actual = target.GetKeyValues();
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 8
0
        public void TryRemoveKeyUnitTest()
        {
            Assert.Inconclusive("TODO");

            var    target    = new SingleValueIndex(); // TODO: Initialize to an appropriate value
            object keyObject = null;                   // TODO: Initialize to an appropriate value
            bool   expected  = false;                  // TODO: Initialize to an appropriate value
            bool   actual;

            actual = target.TryRemoveKey(keyObject);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 9
0
        public void TryGetValueUnitTest1()
        {
            Assert.Inconclusive("TODO");

            var           target         = new SingleValueIndex(); // TODO: Initialize to an appropriate value
            AGraphElement result         = null;                   // TODO: Initialize to an appropriate value
            AGraphElement resultExpected = null;                   // TODO: Initialize to an appropriate value
            IComparable   key            = null;                   // TODO: Initialize to an appropriate value
            bool          expected       = false;                  // TODO: Initialize to an appropriate value
            bool          actual;

            actual = target.TryGetValue(out result, key);
            Assert.AreEqual(resultExpected, result);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 10
0
        public void TryGetValueUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex();                      // TODO: Initialize to an appropriate value
            ReadOnlyCollection <AGraphElement> result         = null; // TODO: Initialize to an appropriate value
            ReadOnlyCollection <AGraphElement> resultExpected = null; // TODO: Initialize to an appropriate value
            object keyObject = null;                                  // TODO: Initialize to an appropriate value
            bool   expected  = false;                                 // TODO: Initialize to an appropriate value
            bool   actual;

            actual = target.TryGetValue(out result, keyObject);
            Assert.AreEqual(resultExpected, result);
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 11
0
        public void SingleValueIndexConstructorUnitTest()
        {
            Assert.Inconclusive("TODO");

            var target = new SingleValueIndex();
        }