mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-28 20:23:25 +08:00
项目结构调整
This commit is contained in:
33
Others/Live-Charts-master/UnitTests/Other/SharedSeries.cs
Normal file
33
Others/Live-Charts-master/UnitTests/Other/SharedSeries.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using LiveCharts.Dtos;
|
||||
using LiveCharts.Wpf;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace UnitTests.Other
|
||||
{
|
||||
[TestClass]
|
||||
public class SharedSeries
|
||||
{
|
||||
[TestMethod]
|
||||
public void SharingSeries()
|
||||
{
|
||||
//var aGuy = new CartesianChart();
|
||||
//var bGuy = new CartesianChart();
|
||||
|
||||
//aGuy.MockIt(new CoreSize(200, 200));
|
||||
//bGuy.MockIt(new CoreSize(200, 200));
|
||||
|
||||
//var aSeries = new LineSeries();
|
||||
|
||||
//aGuy.Series.Add(aSeries);
|
||||
//aGuy.Update();
|
||||
//Debug.WriteLine(aGuy.Series.Count);
|
||||
|
||||
//bGuy.Series.Add(aSeries);
|
||||
//bGuy.Update();
|
||||
//Debug.WriteLine(aGuy.Series.Count);
|
||||
//Debug.WriteLine(bGuy.Series.Count);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user