public void TestCompare_Identical_0()
 {
     Assert.That(
         Timestamp.Compare(new Timestamp(1, 1), new Timestamp(1, 1)),
         Is.EqualTo(0)
         );
 }
 public void TestCompare_SmallBySecondEvenIfNanosecondIsLarge_Minus1()
 {
     Assert.That(
         Timestamp.Compare(new Timestamp(0, 2), new Timestamp(1, 1)),
         Is.EqualTo(-1)
         );
 }
 public void TestCompare_LargeBySecondEvenIfNanosecondIsSmall_1()
 {
     Assert.That(
         Timestamp.Compare(new Timestamp(2, 0), new Timestamp(1, 1)),
         Is.EqualTo(1)
         );
 }
 public void TestCompare_SmallByNanosecond_Minus1()
 {
     Assert.That(
         Timestamp.Compare(new Timestamp(1, 0), new Timestamp(1, 1)),
         Is.EqualTo(-1)
         );
 }
 public void TestCompare_LargeByNanosecond_1()
 {
     Assert.That(
         Timestamp.Compare(new Timestamp(1, 2), new Timestamp(1, 1)),
         Is.EqualTo(1)
         );
 }