We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612740b commit 0a850e1Copy full SHA for 0a850e1
tests/SeriesTest.m
@@ -181,6 +181,17 @@ function every_property_is_used(test)
181
test.verifyEqual(s.toLine(), exp);
182
end
183
184
+ function skips_nonfinite_fields(test)
185
+ s = Series('weather') ...
186
+ .time(test.Time) ...
187
+ .fields('temperature', [NaN, -3.5]) ...
188
+ .fields('humidity', [60.7, Inf]);
189
+ exp = [ ...
190
+ 'weather humidity=60.7 1529933525520' newline ...
191
+ 'weather temperature=-3.5 1529933581618'];
192
+ test.verifyEqual(s.toLine(), exp);
193
+ end
194
+
195
function skips_nonfinite_samples(test)
196
s = Series('weather') ...
197
.time(test.Time) ...
0 commit comments