Beispiel #1
0
        public void TestPovCode()
        {
            PovNumber n = 5;

            Check.That(n.ToPovCode()).IsEqualTo("5");
            n = 5.2;
            Check.That(n.ToPovCode()).IsEqualTo("5.2");
        }
Beispiel #2
0
 public PovVector this[PovNumber value]
 {
     get
     {
         return(new PovVector($"{Name}({value.ToPovCode()})"));
     }
 }