Exemplo n.º 1
0
        public void IsBallInSector_Positive_InSector()
        {
            eXPositionSectorRelative result = _testAsset.IsBallInSector(-5, -10, 20);

            Assert.AreEqual(eXPositionSectorRelative.IN_SECTOR, result);
        }
Exemplo n.º 2
0
        public void IsBallInSector_Positive_Ahead()
        {
            eXPositionSectorRelative result = _testAsset.IsBallInSector(20, -10, 20);

            Assert.AreEqual(eXPositionSectorRelative.AHEAD_SECTOR, result);
        }
Exemplo n.º 3
0
        public void IsBallInSector_Positive_Before()
        {
            eXPositionSectorRelative result = _testAsset.IsBallInSector(-30, -10, 20);

            Assert.AreEqual(eXPositionSectorRelative.BEHIND_SECTOR, result);
        }