MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setUp

Method setUp

JSAT/test/jsat/linear/SparseVectorTest.java:36–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 @Before
37 public void setUp()
38 {
39 x = new SparseVector(20);
40 x.set(0, 2.0);
41 x.set(3, 4.0);
42 x.set(7, 1.0);
43 x.set(10, 2.0);
44 x.set(15, 3.0);
45 x.set(18, 2.0);
46 x.set(19, 5.0);
47
48 y = new SparseVector(20);
49 y.set(1, 2.0);
50 y.set(3, 4.0);
51 y.set(8, 1.0);
52 y.set(9, 1.0);
53 y.set(10, 2.0);
54 y.set(15, 3.0);
55 y.set(17, 2.0);
56 y.set(18, 5.0);
57 }
58
59 @After
60 public void tearDown()

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected