public void AddPartTest() { // Test randomly attached part PartData partData = new PartData(); AxialCoordinate coord = new AxialCoordinate { x = -1, y = 0 }; Part addedPart = new Part { shape = new GameObject(), type = -1 }; partData.addPart(coord, addedPart); // If false, means coord is occupied Assert.False(partData.checkPart(coord)); }