Deepak Mallubhotla f280448cfe
All checks were successful
gitea-physics/pdme/pipeline/head This commit looks good
gitea-physics/pdme/pipeline/pr-master This commit looks good
feat: adds a bunch of mcmc generation code for log spaced models, yay
2023-07-23 17:38:05 -05:00

11 lines
284 B
Python

import pdme.subspace_simulation
import numpy
def test_proportional_costs(snapshot):
a = numpy.array([2, 4, 5, 6, 7, 8, 10])
b = numpy.array([51, 13, 1, 31, 0.001, 3, 1])
actual_result = pdme.subspace_simulation.proportional_cost(a, b).tolist()
assert actual_result == snapshot