private void CompareBases(FakeContext first, FakeContext second) { Assert.IsTrue(first.Materials.SequenceEqual(second.Materials)); Assert.IsTrue(first.Blocks.SequenceEqual(second.Blocks)); Assert.IsTrue(first.Guidables.SequenceEqual(second.Guidables)); Assert.IsTrue(first.Particles.SequenceEqual(second.Particles)); Assert.IsTrue(first.References.SequenceEqual(second.References)); Assert.IsTrue(first.RelationTypes.SequenceEqual(second.RelationTypes)); Assert.IsTrue(first.Tags.SequenceEqual(second.Tags)); }
public void InitTest() { _firstContext = new FakeContext(); _secondContext = new FakeContext(); _firstDb = new DbInteropService(_firstContext); _secondDb = new DbInteropService(_secondContext); _firstImport = new DbImportService(_firstContext); _secondImport = new DbImportService(_secondContext); _firstSettings = new SettingsService(_firstDb); _secondSettings = new SettingsService(_secondDb); }