libmir / mir

Compare ac82c78 ... +0 ... b9f9c79

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -55,6 +55,9 @@
Loading
55 55
///
56 56
unittest
57 57
{
58 +
    import mir.ndslice;
59 +
    import mir.sparse;
60 +
58 61
    auto sp = sparse!int(3, 5);
59 62
    sp[] =
60 63
        [[-5, 1, 7, 7, -4],
@@ -126,6 +129,9 @@
Loading
126 129
///
127 130
unittest
128 131
{
132 +
    import mir.ndslice;
133 +
    import mir.sparse;
134 +
129 135
    auto sp = sparse!int(5, 3);
130 136
    sp[] =
131 137
        [[-5, -1, -5],
@@ -190,6 +196,9 @@
Loading
190 196
///
191 197
unittest
192 198
{
199 +
    import mir.ndslice;
200 +
    import mir.sparse;
201 +
193 202
    auto a = slice!double(3, 5);
194 203
    a[] =
195 204
        [[-5, 1, 7, 7, -4],

@@ -102,6 +102,8 @@
Loading
102 102
///
103 103
unittest
104 104
{
105 +
    import mir.series;
106 +
105 107
    auto x = series([0u, 3, 5, 9, 100], [1, 3, 4, 9, 10]);
106 108
    auto y = series([1u, 3, 4, 9], [1, 10, 100, 1000]);
107 109
    // x = [1, 0, 0,  3, 0, 4, 0, 0, 0, 9, ... ,10]
@@ -159,7 +161,8 @@
Loading
159 161
///
160 162
unittest
161 163
{
162 -
    import std.typecons: No;
164 +
    import mir.series;
165 +
163 166
    auto x = [0u, 3, 5, 9, 10].series([1.0, 3, 4, 9, 13]);
164 167
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
165 168
    // x: [1, 0, 0, 3, 0, 4, 0, 0, 0, 9, 13,  0,  0,  0]

@@ -45,6 +45,7 @@
Loading
45 45
///
46 46
unittest
47 47
{
48 +
    import mir.series;
48 49
    auto x = series([0, 3, 5, 9, 10], [1.0, 3, 4, 9, 13]);
49 50
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
50 51
    axpy(2.0, x, y);
@@ -53,6 +54,7 @@
Loading
53 54
54 55
unittest
55 56
{
57 +
    import mir.series;
56 58
    auto x = series([0, 3, 5, 9, 10], [1.0, 3, 4, 9, 13]);
57 59
    auto y = [0.0, 1.0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
58 60
    axpy(2.0, x, y.sliced);

@@ -64,6 +64,9 @@
Loading
64 64
///
65 65
unittest
66 66
{
67 +
    import mir.ndslice;
68 +
    import mir.sparse;
69 +
67 70
    auto slice = sparse!double(3, 5);
68 71
    slice[] =
69 72
        [[ 0.0, 2.0,  3.0, 0.0, 0.0],
@@ -134,6 +137,9 @@
Loading
134 137
///
135 138
unittest
136 139
{
140 +
    import mir.ndslice;
141 +
    import mir.sparse;
142 +
137 143
    auto slice = sparse!double(5, 3);
138 144
    slice[] =
139 145
        [[0.0,  6.0,  6.0],
@@ -203,6 +209,9 @@
Loading
203 209
///
204 210
unittest
205 211
{
212 +
    import mir.ndslice;
213 +
    import mir.sparse;
214 +
206 215
    auto slice = sparse!double(3, 5);
207 216
    slice[] =
208 217
        [[ 0.0, 2.0,  3.0, 0.0, 0.0],

Learn more Showing 1 files with coverage changes found.

Changes in source/mir/glas/l1.d
+6
Loading file...
Files Coverage
source/mir 0.16% 84.82%
Project Totals (8 files) 84.82%
Loading