I am writing unit tests for checking whether class complexity distribution metric is saved properly. But I got into a problem that when asserting the Measure being saved it actually ignored the String data inside the measure. Here's an example:
RangeDistributionBuilder classComplexityDistribution = new RangeDistributionBuilder(
Which got me thinking that it probably doesn't take value into account for a reason - no matter whether we talk about double or String value. If that's the case what approach would you suggest for testing this?
+------ | Sebastian Marek Broadband Solutions for | Software Architect Home & Business @ | Plusnet www.plus.net | | Registered Office: The Balance, 2 Pinfold Street, Sheffield, S1 2GU | Registered in England no: 3279013 | + ----- PlusNet - The smarter way to broadband ---------|