public void Test_hr_to_amount() { Assert.Equal("50.123456789", ModHelper.Amount_to_hr_string(50123456789)); Assert.Equal("0.000000050", ModHelper.Amount_to_hr_string(50)); Assert.Equal("0.000000001", ModHelper.Amount_to_hr_string(1)); Assert.Equal("500.000000000", ModHelper.Amount_to_hr_string(500_000_000_000)); Assert.Equal("5000000000.000000000", ModHelper.Amount_to_hr_string(5_000_000_000_000_000_000)); }