< Summary

Class:Vector2IntVariable
Assembly:BaseVariable
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/Variables/Vector2IntVariable.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:9
Line coverage:100% (2 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Set(...)0%110100%
Equals(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/Variables/Vector2IntVariable.cs

#LineLine coverage
 1using UnityEngine;
 2
 3[CreateAssetMenu(fileName = "Vector2IntVariable", menuName = "Variables/Vector2IntVariable")]
 4public class Vector2IntVariable : BaseVariableAsset<Vector2Int>
 5{
 123346    public void Set(Vector2 value) { base.Set(new Vector2Int((int)value.x, (int)value.y)); }
 7
 61748    public override bool Equals(Vector2Int other) { return value == other; }
 9}