[ 
https://issues.apache.org/jira/browse/HADOOP-3243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated HADOOP-3243:
---------------------------------

    Attachment: testfloat.patch

> Should it test write, read, equals, hash, comparator?

TestWritable has generic code that tests read, write and equals.  I've attached 
a patch that adds a testFloat() case there.

Testing hashCode too would be good, and best added to TestWritable, but that 
should probably be done in a separate issue, since it will probably uncover 
some classes that don't implement hashCode but that use TestWritable.

TestWritable should also test the comparator for WritableComparables, but that 
should also be in a separate issue.

> DoubleWritable
> --------------
>
>                 Key: HADOOP-3243
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3243
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: io
>            Reporter: Karl Wettin
>            Priority: Minor
>         Attachments: HADOOP-3243.txt, testfloat.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to