Example #1
0
    public void Setup()
    {
        //Create some dummy info
        _lookupF = new NT.Lookup<string, string>();
        _lookupF.Add(_key1, _value1);
        _lookupF.Add(_key1, _value2);
        _lookupF.Add(_key2, _value1);

        _lookupR = new NT.Lookup<string, string>();
        _lookupR.Add(_value1, _key1);
        _lookupR.Add(_value2, _key1);
        _lookupR.Add(_value1, _key2);

        //Create a lookupmap and inject dummy items
        _lookupMap = new NT.LookupMap<string, string>(_lookupF, _lookupR);
    }
Example #2
0
    public void Setup()
    {
        //Create some dummy lookup info in the backing dictionary
        _dict = new Dictionary<string, List<string>>();
        _dict.Add(_key, new List<String> { _value1, _value2 });
        _dict.Add(_key2, new List<String> { _value1 });

        //Create a lookup and inject dummy items
        _lookup = new NT.Lookup<string, string>(_dict);
    }