コード例 #1
0
 public void include_the_est_battery_range_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(
         _sut.EstBatteryRange.GetValueOrDefault().ToString(CultureInfo.InvariantCulture));
 }
コード例 #2
0
 public void include_the_charging_state_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.ChargingState);
 }
コード例 #3
0
 public void include_the_battery_level_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.BatteryLevel.ToString());
 }
コード例 #4
0
 public void include_the_car_version_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.CarVersion);
 }
コード例 #5
0
 public void include_the_timestamp_UTC_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.TimestampUtc.ToString("R"));
 }
コード例 #6
0
 public void include_the_HTTP_status_code_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.HttpStatusCode.ToString("G"));
 }
コード例 #7
0
 public void include_the_vehicle_name_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.VehicleName);
 }
コード例 #8
0
ファイル: DriveStateTests.cs プロジェクト: bclymer/tesla-net
 public void include_the_longitude_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.Longitude.ToString(CultureInfo.InvariantCulture));
 }
コード例 #9
0
ファイル: DriveStateTests.cs プロジェクト: bclymer/tesla-net
 public void include_the_GPS_as_of_UTC_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.GpsAsOfUtc.ToString("R"));
 }
コード例 #10
0
 public void include_the_type_of_the_response_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(typeof(IReadOnlyList <Vehicle>).Name);
 }
コード例 #11
0
 public void include_the_expires_when_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.ExpiresUtc.ToString("R"));
 }
コード例 #12
0
 public void include_the_truncated_access_token_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.AccessToken.Substring(0, 6) + "…");
 }
コード例 #13
0
 public void include_the_VIN_in_the_debugger_display()
 {
     DebuggerDisplayText.Should().Contain(_sut.Vin);
 }
コード例 #14
0
 public void IncludeImplementationTypeInTheDebuggerDisplay()
 {
     DebuggerDisplayText.Should().Contain(_implementationType.Name);
 }