Ejemplo n.º 1
0
		public void boundries_conorm()
		{
			T_Norm norm = new min_max();
			Assert.Throws<ArgumentException>(delegate{norm.conorm(1.3, 0.5);}, "");
			Assert.Throws<ArgumentException>(delegate{norm.conorm(1.0, 1.4);}, "");
			Assert.Throws<ArgumentException>(delegate{norm.conorm(1.1, 1.4);}, "");
		}
Ejemplo n.º 2
0
		public void normal_conorm()
		{
			T_Norm norm = new min_max();
			Assert.AreEqual(0.5, norm.conorm(0.3, 0.5), "");
			Assert.AreEqual(0.5, norm.conorm(0.5, 0.4), "");
		}