Tests that the descriptor can correctly handle differently described systems
(descriptor_func, pbc, cell)
| 402 | |
| 403 | |
| 404 | def assert_systems(descriptor_func, pbc, cell): |
| 405 | """Tests that the descriptor can correctly handle differently described |
| 406 | systems |
| 407 | """ |
| 408 | system = get_simple_finite() |
| 409 | system.set_pbc(pbc) |
| 410 | system.set_cell(cell) |
| 411 | descriptor = descriptor_func([system]) |
| 412 | descriptor.create(system) |
| 413 | |
| 414 | |
| 415 | def assert_dtype(descriptor_func, dtype, sparse): |
no test coverage detected