@@ -61,14 +61,15 @@ public void test_BasicPointVector_capacity_lt_size() throws Exception {
6161
6262 @ Test
6363 public void test_BasicPointVector_size_capacity_set () throws Exception {
64- BasicPointVector bbv = new BasicPointVector (5 , 6 );
65- Assert .assertEquals ("[(0.0, 0.0),(0.0, 0.0),(0.0, 0.0),(0.0, 0.0),(0.0, 0.0)]" , bbv .getString ());
64+ BasicPointVector bbv = new BasicPointVector (6 , 7 );
65+ Assert .assertEquals ("[(0.0, 0.0),(0.0, 0.0),(0.0, 0.0),(0.0, 0.0),(0.0, 0.0),(0.0, 0.0) ]" , bbv .getString ());
6666 bbv .set (0 , (Object )null );
6767 bbv .set (1 , null );
6868 bbv .set (2 , new Double2 (1.0 ,9.2 ));
6969 bbv .set (3 , new Double2 (-1.0 ,-9.2 ));
7070 bbv .set (4 , new Double2 (Double .MIN_VALUE ,Double .MIN_VALUE ));
71- Assert .assertEquals ("[(,),(,),(1.0, 9.2),(-1.0, -9.2),(4.9E-324, 4.9E-324)]" , bbv .getString ());
71+ bbv .set (5 , new BasicPoint (Double .MIN_VALUE ,Double .MIN_VALUE ));
72+ Assert .assertEquals ("[(,),(,),(1.0, 9.2),(-1.0, -9.2),(4.9E-324, 4.9E-324),(4.9E-324, 4.9E-324)]" , bbv .getString ());
7273 }
7374
7475 @ Test
@@ -92,7 +93,7 @@ public void test_BasicPointVector_set_type_not_match() throws Exception {
9293 }catch (Exception e ){
9394 re = e .getMessage ();
9495 }
95- assertEquals ("Unsupported type: java.lang.Integer. Only Double2 or null is supported." , re );
96+ assertEquals ("Unsupported type: java.lang.Integer. Only Double2, BasicPoint or null is supported." , re );
9697 }
9798
9899 @ Test
0 commit comments