public void NewEVP_IdMethodTest() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); var _EVP_Id2 = ChargingPool_Id.Random(EVSEOperatorId); Assert.AreNotEqual(_EVP_Id1, _EVP_Id2); }
public void EqualsNonEVP_IdTest() { var _EVP_Id = ChargingPool_Id.Random(EVSEOperatorId); var _Object = "123"; Assert.IsFalse(_EVP_Id.Equals(_Object)); }
public void op_BiggerOrEqual_Null_Test2() { ChargingPool_Id _EVP_Id1 = null; var _EVP_Id2 = ChargingPool_Id.Random(EVSEOperatorId); Assert.Throws <ArgumentNullException>(() => { var x = _EVP_Id1 >= _EVP_Id2; }); }
public void CompareToNonEVP_IdTest() { var _EVP_Id = ChargingPool_Id.Random(EVSEOperatorId); var _Object = "123"; Assert.Throws <ArgumentNullException>(() => { var x = _EVP_Id.CompareTo(_Object); }); }
public void op_Bigger_Null_Test1() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); ChargingPool_Id _EVP_Id2 = null; Assert.Throws <ArgumentNullException>(() => { var x = _EVP_Id1 > _EVP_Id2; }); }
public void op_Inequality_Null_Test2() { ChargingPool_Id _EVP_Id1 = null; var _EVP_Id2 = ChargingPool_Id.Random(EVSEOperatorId); Assert.IsTrue(_EVP_Id1 != _EVP_Id2); }
public void op_Equality_Null_Test1() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); ChargingPool_Id _EVP_Id2 = null; Assert.IsFalse(_EVP_Id1 == _EVP_Id2); }
public void EqualsNullTest2() { var _EVP_Id = ChargingPool_Id.Random(EVSEOperatorId); ChargingPool_Id _Object = null; Assert.IsFalse(_EVP_Id.Equals(_Object)); }
public void op_BiggerOrEqual_SameReference_Test() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); #pragma warning disable Assert.IsTrue(_EVP_Id1 >= _EVP_Id1); #pragma warning restore }
public void op_Smaller_SameReference_Test() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); #pragma warning disable Assert.IsFalse(_EVP_Id1 < _EVP_Id1); #pragma warning restore }
public void EVP_IdEVP_IdConstructorTest() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); var _EVP_Id2 = _EVP_Id1.Clone; Assert.AreEqual(_EVP_Id1.ToString(), _EVP_Id2.ToString()); Assert.AreEqual(_EVP_Id1.Length, _EVP_Id2.Length); Assert.AreEqual(_EVP_Id1, _EVP_Id2); }
public void EVP_IdEmptyConstructorTest() { var _EVP_Id1 = ChargingPool_Id.Random(EVSEOperatorId); var _EVP_Id2 = ChargingPool_Id.Random(EVSEOperatorId); Assert.IsTrue(_EVP_Id1.Length > 0); Assert.IsTrue(_EVP_Id2.Length > 0); Assert.AreNotEqual(_EVP_Id1, _EVP_Id2); }