示例#1
0
 public void Test15()
 {
     Assert.AreEqual(AlertGenerator.Temp.InvalidInput, AlertGenerator.CheckTemperature(60));
 }
示例#2
0
 public void Test11()
 {
     Assert.AreEqual(AlertGenerator.Temp.Sleepy, AlertGenerator.CheckTemperature(92));
 }
示例#3
0
 public void Test14()
 {
     Assert.AreEqual(AlertGenerator.Temp.Emergency, AlertGenerator.CheckTemperature(89));
 }
示例#4
0
 public void Test9()
 {
     Assert.AreEqual(AlertGenerator.Temp.Loss, AlertGenerator.CheckTemperature(94));
 }
示例#5
0
 public void Test7()
 {
     Assert.AreEqual(AlertGenerator.Temp.Hypothermia, AlertGenerator.CheckTemperature(95.5));
 }
示例#6
0
 public void Test5()
 {
     Assert.AreEqual(AlertGenerator.Temp.Cold, AlertGenerator.CheckTemperature(97));
 }
示例#7
0
 public void Test3()
 {
     Assert.AreEqual(AlertGenerator.Temp.Normal, AlertGenerator.CheckTemperature(98.4));
 }
示例#8
0
 public void Test1()
 {
     Assert.AreEqual(AlertGenerator.Temp.Fever, AlertGenerator.CheckTemperature(100));
 }