public void ConvertBooToFoo(Boo source) { var foo = _mapper.Map(source); foo.Bool.Should().Be(source.Bool); foo.Float.Should().Be(source.Float); foo.Int.Should().Be(source.Int); }
public long Velo_BasicMapper() { long stub = 0; for (var i = 0; i < _dataset.Length; i++) { var element = _dataset[i]; var mappingResult = _basicMapper.Map(element); stub += mappingResult.Int; } return(stub); }