don't use C#6 language features for the time being

This commit is contained in:
Armin Sander
2015-09-25 10:48:46 +02:00
parent cefd6ccb96
commit 2e908bfdee
7 changed files with 92 additions and 35 deletions

View File

@@ -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)) {