// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package acceptance

import "testing"

func TestAccRandTimeInt(t *testing.T) {
	t.Run("Rand Date int", func(t *testing.T) {
		ri := RandTimeInt()

		if ri < 100000000000000000 {
			t.Fatalf("RandTimeInt returned a value (%d) shorter then expected", ri)
		}

		if ri > 999999999999999999 {
			t.Fatalf("RandTimeInt returned a value (%d) longer then expected", ri)
		}
	})
}
