Exemplo n.º 1
0
        public void Together_inverted()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.6518, 0.1473), new Vector2(-1.8268, 0.1473),
                                                               new Vector2(-3.0643, -0.5671), new Vector2(-1.4143, -0.5671));

            Assert.AreEqual(Together, geometric.Parity);
        }
Exemplo n.º 2
0
        public void Opposite30()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.4455, 0.5046), new Vector2(-2.0330, -0.2099),
                                                               new Vector2(-2.0330, 1.2191), new Vector2(-2.4455, -0.9244));

            Assert.AreEqual(Opposite, geometric.Parity);
        }
Exemplo n.º 3
0
        public void Opposite_inverted()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.6518, 0.1473), new Vector2(-1.8268, 0.1473),
                                                               new Vector2(-3.0643, -0.5671), new Vector2(-1.4143, 0.8618));

            Assert.AreEqual(Opposite, geometric.Parity);
        }
Exemplo n.º 4
0
        public void Unspecified_both()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.6518, 0.1473), new Vector2(-1.8268, 0.1473),
                                                               new Vector2(-3.0643, 0.1473), new Vector2(-1.4143, 0.1473));

            Assert.AreEqual(UNSPECIFIED, geometric.Parity);
        }
Exemplo n.º 5
0
        public void TogetherTest()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.6518, 0.1473), new Vector2(-1.8268, 0.1473),
                                                               new Vector2(-3.0643, 0.8618), new Vector2(-1.4143, 0.8618));

            Assert.AreEqual(Together, geometric.Parity);
        }
Exemplo n.º 6
0
        public void Unspecified30()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.4455, 0.5046), new Vector2(-2.0330, -0.2099),
                                                               new Vector2(-2.8580, 1.2191), new Vector2(-2.4455, -0.9244));

            Assert.AreEqual(UNSPECIFIED, geometric.Parity);
        }
Exemplo n.º 7
0
        public void Together30()
        {
            GeometricParity geometric = new DoubleBond2DParity(new Vector2(-2.4455, 0.5046), new Vector2(-2.0330, -0.2099),
                                                               new Vector2(-3.2705, 0.5046), new Vector2(-2.4455, -0.9244));

            Assert.AreEqual(Together, geometric.Parity);
        }