public void DomainHash_CorrectlyHashesLongUrl() { Assert.That(AnalyticsEventSender.GetDomainHash("This_is_a_very_long_string_for_a_url_to_test_32_bit_overflow.palaso.org"), Is.EqualTo(52249804)); }
public void DomainHash_CorrectlyHashesFieldworksUrl() { Assert.That(AnalyticsEventSender.GetDomainHash("fieldworks.sil.org"), Is.EqualTo(100181257)); }
public void DomainHash_CorrectlyHashesWeSayUrl() { Assert.That(AnalyticsEventSender.GetDomainHash("WeSay.palaso.org"), Is.EqualTo(45558018)); }
public void DomainHash_CorrectlyHashesFlexUrl() { Assert.That(AnalyticsEventSender.GetDomainHash("flex.palaso.org"), Is.EqualTo(39240052)); }