public void TestDayCycle(int seconds, float result) { m_atlas.DayLength = new TimeSpan(0, 0, 0, 10); m_atlas.IncrementTime(seconds: seconds); float light = m_atlas.Day; Assert.Equal(light, result, 1); }
public void TestDayCycle(int seconds, float result) { m_atlas.DayLength = new TimeSpan(0, 0, 0, 10); m_atlas.IncrementTime(seconds: seconds); float light = m_atlas.Day; Assert.Equal(light, result, 1); }