예제 #1
0
        public void IsMulticastAddressTest_False()
        {
            IPAddress address  = IPAddress.Parse("127.0.0.1");
            bool      expected = false;
            bool      actual;

            actual = OscSocket.IsMulticastAddress(address);
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void IsMulticastAddressTest_True()
        {
            IPAddress address  = IPAddress.Parse("239.0.0.222");
            bool      expected = true;
            bool      actual;

            actual = OscSocket.IsMulticastAddress(address);
            Assert.AreEqual(expected, actual);
        }