public void TestWelcomeonDispla() { IPhone IP1 = new IPhone(567, "AppleUser", "Apple forever"); IPhone IP2 = IP1; Assert.IsInstanceOf(typeof(IPhone), IP1); Assert.AreSame(IP1, IP2); }
public void TestNickName() { IPhone IP1 = new IPhone(567, "AppleUser", "Apple forever"); Assert.IsNotEmpty(IP1.NickN); }
public void TestIPhone() { IPhone IP1 = new IPhone(4567, "AppleUser", "Apple forever"); Assert.IsNotNull(IP1.IPhoneN); }