### Question:
SimilaritySet { public double get(int attr) { return similaritySet[attr]; }  double get(int attr); boolean isViolated(MDElement element); int size(); @Override String toString();  }### Answer:
@Test public void testGet() { SimilaritySet similaritySet = new SimilaritySet(new double[]{0.2, 0.3}); assertThat(similaritySet.get(0)).isEqualTo(0.2); assertThat(similaritySet.get(1)).isEqualTo(0.3); }