groostav
08/17/2016, 10:23 PM@Test fun `when importing a sheet with points that are not in bounds should properly import`() = runTest (
document = """x1,x2,f1
|1,2,3
|1,2,4
|""".trimMargin(),
expectedErrors = setOf(
MatrixImportError("Bounds no good!")
),
expectedMatrix = matrixBuilder.optimization {
columns() ["x1", "x2", "f1" ]
bounds() [0.0..3.0, 0.0..3.0, `-∞`..`+∞` ]
point() [1.0, 2.0, 3.0 ]
point() [1.0, 5.0, 4.0 ]
}
)