コード例 #1
0
 public void RacyConstructorTest()
 {
     string initValue = "secret test string";
     Racy target = new Racy(initValue);
     Assert.AreEqual(target.Value, initValue, "Object value should be identical after construction");
 }
コード例 #2
0
 public void RacyConstructorTest1()
 {
     Racy target = new Racy();
     Assert.IsNull(target.Value,  "Object value should be null after construction");
 }