public void RecordTest1() { Forest.Record testRecord = new Forest.Record(Person01, Person02); Assert.Equal(Person01, testRecord.Player1); Assert.Equal(Person02, testRecord.Player2); }
public void ContainTest3() { Forest.Record testRecord = new Forest.Record(Person01, Person02); //Act //Assert Assert.Throws <ArgumentNullException>(() => { testRecord.Contain(null); }); }
public void ContainTest2() { Forest.Record testRecord = new Forest.Record(Person01, Person02); Assert.False(testRecord.Contain(Person03)); }
public void ContainTest1() { Forest.Record testRecord = new Forest.Record(Person01, Person02); Assert.True(testRecord.Contain(Person01)); Assert.True(testRecord.Contain(Person02)); }