Coverage for test_soil.py : 68%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
#!/usr/bin/env python # -*- coding: utf-8 -*-
def env(): simulation_start = datetime.datetime(2019, 1, 1) my_env = simpy.Environment(initial_time = time.mktime(simulation_start.timetuple())) my_env.epoch = time.mktime(simulation_start.timetuple()) return my_env
def geometry_a(): return shapely.geometry.Point(0, 0)
def geometry_b(): return shapely.geometry.Point(1, 1)
def locatable_a(geometry_a): return core.Locatable(geometry_a)
def locatable_b(geometry_b): return core.Locatable(geometry_b)
# Test soil object with dredging # Test soil object with moving # Test soil object with placement |