Beispiel #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void inUseRecordEquality()
        public virtual void InUseRecordEquality()
        {
            NeoStoreRecord record1 = new NeoStoreRecord();

            record1.Initialize(true, 1);

            NeoStoreRecord record2 = record1.Clone();

            NeoStoreCheckType check = new NeoStoreCheckType();

            assertTrue(check.Equal(record1, record2));
        }
Beispiel #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void notInUseRecordEquality()
        public virtual void NotInUseRecordEquality()
        {
            NeoStoreRecord record1 = new NeoStoreRecord();

            record1.Initialize(false, 1);

            NeoStoreRecord record2 = new NeoStoreRecord();

            record2.Initialize(false, 11);

            NeoStoreCheckType check = new NeoStoreCheckType();

            assertTrue(check.Equal(record1, record2));
        }