view src/test/csharp/jp.ac.u-ryukyu.ie.cr/junge-main/data/treemap/TreeMapTest.cs @ 13:4c8932dad7b2

Add Test and only NetworkTreeOperationLogTest.cs not work.
author Kazuma
date Sun, 23 Oct 2016 13:35:21 +0900
parents b71d9ea6bd8e
children
line wrap: on
line source

using UnityEngine;
using System.Collections;

public class TreeMapTest : MonoBehaviour {
	private int ReturnNumber;
	// Update is called once per frame
	public void Start () {
		TreeMap<int, int> map = new TreeMap<int,int>();
		Debug.Log (map);
		for (int count = 5; count > -10; count--) {
			map = map.put(count, count);
			map.checkDepth();
			Debug.Log("------------------------------------------");


		}
	
	}
}