don't use C#6 language features for the time being
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
using static Facebook.CSSLayout.CSSLayout;
|
||||
|
||||
namespace Facebook.CSSLayout.Tests
|
||||
{
|
||||
@@ -19,6 +18,13 @@ namespace Facebook.CSSLayout.Tests
|
||||
*/
|
||||
public class LayoutEngineTest
|
||||
{
|
||||
const int POSITION_LEFT = CSSLayout.POSITION_LEFT;
|
||||
const int POSITION_TOP = CSSLayout.POSITION_TOP;
|
||||
const int POSITION_RIGHT = CSSLayout.POSITION_RIGHT;
|
||||
const int POSITION_BOTTOM = CSSLayout.POSITION_BOTTOM;
|
||||
const int DIMENSION_HEIGHT = CSSLayout.DIMENSION_HEIGHT;
|
||||
const int DIMENSION_WIDTH = CSSLayout.DIMENSION_WIDTH;
|
||||
|
||||
static readonly MeasureFunction sTestMeasureFunction = (node, width) =>
|
||||
{
|
||||
if (CSSConstants.IsUndefined(width)) {
|
||||
|
Reference in New Issue
Block a user