@@ -0,0 +1,718 @@
+package com.pcache.tests;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.util.ArrayList;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport com.pcache.DO.Timeseries;%0Aimport com.pcache.exceptions.PCacheException;%0A%0Apublic class TimeseriesTest%0A%7B%0A%0A%09@Test%0A%09public void testTimeseries() throws PCacheException%0A%09%7B%0A%09%09%0A%09%09ArrayList%3CString%3E timestamps = new ArrayList%3CString%3E() %7B%7B%0A%09%09%09%0A%09%09%09add(%222010-01-01T12:00:00.000+05:30%22);%0A%09%09%09%0A%09%09%7D%7D;%0A%09%09%0A%09%09System.out.println(timestamps.size());%0A%09%09System.out.println(timestamps.get(0));%0A%09%09%0A%09%09ArrayList%3CString%3E dataPoints = new ArrayList%3CString%3E() %7B%7B%0A%09%09%09%0A%09%09%09add(%22UP%22);%0A%09%09%09%0A%09%09%7D%7D;%0A%09%09%0A%09%09Timeseries%3CString%3E ts = new Timeseries%3CString%3E(timestamps, dataPoints);%0A%09%09%0A%09%7D%0A%0A%7D%0A

Test cases for timeseries