public void testClone() { ValuesEntry clonedValuesEntry = (ValuesEntry)valuesEntry.clone <ValuesEntry>(); Assert.AreEqual(valuesEntry.getAdcResolution(), clonedValuesEntry.getAdcResolution()); Assert.AreEqual(valuesEntry.getAdcZero(), clonedValuesEntry.getAdcZero()); Assert.AreEqual(valuesEntry.getBaseline(), clonedValuesEntry.getBaseline()); Assert.AreEqual(valuesEntry.getComment(), clonedValuesEntry.getComment()); Assert.AreEqual(valuesEntry.getContentClass(), clonedValuesEntry.getContentClass()); Assert.AreEqual(valuesEntry.getDataType(), clonedValuesEntry.getDataType()); Assert.AreEqual(valuesEntry.getFileFormat().getFileFormatName(), clonedValuesEntry.getFileFormat().getFileFormatName()); Assert.AreEqual(valuesEntry.getFileFormat().getComment(), clonedValuesEntry.getFileFormat().getComment()); Assert.AreEqual(valuesEntry.getId(), clonedValuesEntry.getId()); Assert.AreEqual(valuesEntry.getLsbValue(), clonedValuesEntry.getLsbValue(), 0); Assert.AreEqual(valuesEntry.getSampleRate(), clonedValuesEntry.getSampleRate(), 0); Assert.AreEqual(valuesEntry.getSource(), clonedValuesEntry.getSource()); Assert.AreEqual(valuesEntry.getUnisens(), clonedValuesEntry.getUnisens()); Assert.AreEqual(valuesEntry.getUnit(), clonedValuesEntry.getUnit()); Assert.AreEqual(valuesEntry.getChannelCount(), clonedValuesEntry.getChannelCount()); assertArrayEquals(valuesEntry.getChannelNames(), clonedValuesEntry.getChannelNames()); }