public void testCreateWithData()
 {
     StringTheory theory = new StringTheory("foo");
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(new StringTheory("foo"));
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(new object());
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(new char[20]);
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(1);
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(1L);
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(1.0);
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
     theory = new StringTheory(1.8888888888888888);
     Assert.True(theory != null, "Failed to create instance!");
     this.AssertFalse("New ST thinks it was touched?", theory.Touched());
 }
 public void testTouched()
 {
     StringTheory theory = new StringTheory("mares eat oats");
     theory.Append(theory.Cut(5, 4));
     Assert.True(theory.Touched(), "str doesn't think it was touched.");
     theory = new StringTheory("mares eat oats");
     theory.Upper(7);
     Assert.True(theory.Touched(), "str doesn't think it was touched. 2");
 }