public void TestNewRatingsRetrieval2_2016() { var sut = new UnitRatingsService2(); var currRatings = sut.GetUnitRatingsFor( "CP", new DateTime( 2016, 9, 9 ) ); const string expectedValue = "DACCBA"; Assert.IsTrue( currRatings.Equals( expectedValue ), string.Format( "CP team rating should be {1} not {0}", currRatings, expectedValue ) ); }
private void SetRatings() { var urs = new UnitRatingsService2(); Ratings = urs.GetUnitRatingsFor(TeamCode, DateTime.Now); }