Safe Haskell | None |
---|
Common functionality for htools-related unittests.
Synopsis
- nullISpec :: ISpec
- nullIPolicy :: IPolicy
- defGroup :: Group
- defGroupList :: List
- defGroupAssoc :: Map String Gdx
- createInstance :: Int -> Int -> Int -> Instance
- makeSmallCluster :: Node -> Int -> List
- setInstanceSmallerThanNode :: Node -> Instance -> Instance
Helpers
nullIPolicy :: IPolicy Source #
Null iPolicy, and by null we mean very liberal.
defGroupList :: List Source #
Default group, as a (singleton) List
.
defGroupAssoc :: Map String Gdx Source #
Default group, as a string map.
createInstance :: Int -> Int -> Int -> Instance Source #
Create an instance given its spec.
makeSmallCluster :: Node -> Int -> List Source #
Create a small cluster by repeating a node spec.