package org.opentrafficsim.base; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.djunits.unit.TimeUnit; import org.djunits.value.vdouble.scalar.Time; import org.junit.Test; /** * Test the TimeStampedObject class. *
* Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License.
*
* @version $Revision$, $LastChangedDate$, by $Author$, initial version Aug 17, 2017
* @author Alexander Verbraeck
* @author Peter Knoppers
* @author Wouter Schakel
*/
public class TimeStampedObjectTest
{
/**
* Test the TimeStampedObject class.
*/
@Test
public final void testTimeStampedObject()
{
Time timeStamp1 = new Time(123, TimeUnit.DEFAULT);
Time timeStamp2 = new Time(456, TimeUnit.DEFAULT);
TimeStampedObject