public async Task DistributedCache_Get_and_Set_DoubleAsync() { // arrange var key = "foo-double"; var expected = double.MaxValue; // act await _cache.SetAsync(key, expected, _option); var actual = await _cache.GetDoubleAsync(key); // assert Assert.Equal(expected, actual); }