Ejemplo n.º 1
0
    [InlineData(-667386670618854952, 7376056636151202432, 35)] //-123.1111111111111111111111111111
    public void KuduDecimalTooLarge(long high, ulong low, int scale)
    {
        var value = new KuduInt128(high, low);

        Assert.Throws <OverflowException>(
            () => DecimalUtil.DecodeDecimal128(value, scale));
    }